Added hasMany relation
This commit is contained in:
@@ -14,4 +14,9 @@ class LineStop extends Model
|
||||
"code",
|
||||
"reason",
|
||||
];
|
||||
|
||||
public function productionLineStops()
|
||||
{
|
||||
return $this->hasMany(ProductionLineStop::class, 'linestop_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user