inital commit
This commit is contained in:
14
app/Models/InfoItem.php
Normal file
14
app/Models/InfoItem.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class InfoItem extends Model
|
||||
{
|
||||
|
||||
public function roadItemsProjects()
|
||||
{
|
||||
return $this->hasMany('App\Models\RoadItemsProject', 'sub_item', 'sub_item');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user