Compare commits
2 Commits
aee5a8cb50
...
3c59e06fe7
| Author | SHA1 | Date | |
|---|---|---|---|
| 3c59e06fe7 | |||
|
|
621cf13565 |
@@ -12,12 +12,15 @@ class ProductionPlan extends Model
|
||||
|
||||
protected $fillable = [
|
||||
"plant_id",
|
||||
"item_id",
|
||||
"shift_id",
|
||||
"created_at",
|
||||
"line_id",
|
||||
"plan_quantity",
|
||||
"production_quantity",
|
||||
"operator_id",
|
||||
"working_days",
|
||||
"leave_dates",
|
||||
];
|
||||
|
||||
public function plant(): BelongsTo
|
||||
@@ -34,4 +37,9 @@ class ProductionPlan extends Model
|
||||
{
|
||||
return $this->belongsTo(Line::class);
|
||||
}
|
||||
|
||||
public function item(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Item::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user