Added new lineStopRelation with id
This commit is contained in:
@@ -41,4 +41,12 @@ class ProductionLineStop extends Model
|
|||||||
{
|
{
|
||||||
return $this->belongsTo(LineStop::class);
|
return $this->belongsTo(LineStop::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// //..this is my code below
|
||||||
|
// public function lineStopRelation()
|
||||||
|
// {
|
||||||
|
// return $this->belongsTo(LineStop::class, 'linestop_id');
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user