Import Fun Completed and Sticker Master
This commit is contained in:
@@ -13,30 +13,12 @@ class Line extends Model
|
||||
|
||||
protected $fillable = [
|
||||
"plant_id",
|
||||
"block_id",
|
||||
"shift_id",
|
||||
"name",
|
||||
"type",
|
||||
];
|
||||
|
||||
|
||||
public function plant(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Plant::class);
|
||||
}
|
||||
|
||||
public function block(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Block::class);
|
||||
}
|
||||
|
||||
public function shift(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Shift::class);
|
||||
}
|
||||
|
||||
public function line_stops(): HasMany
|
||||
{
|
||||
return $this->hasMany(LineStop::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user