Compare commits
2 Commits
da8b2a00fb
...
1aeaa3772b
| Author | SHA1 | Date | |
|---|---|---|---|
| 1aeaa3772b | |||
|
|
a6d3add1ac |
@@ -54,6 +54,11 @@ class Item extends Model
|
||||
return $this->hasMany(ProcessOrder::class);
|
||||
}
|
||||
|
||||
public function productionOrders()
|
||||
{
|
||||
return $this->hasMany(ProductionOrder::class);
|
||||
}
|
||||
|
||||
public function productCharacteristicsMasters()
|
||||
{
|
||||
return $this->hasMany(ProductCharacteristicsMaster::class);
|
||||
|
||||
@@ -108,6 +108,11 @@ class Plant extends Model
|
||||
return $this->hasMany(ProcessOrder::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function productionOrder()
|
||||
{
|
||||
return $this->hasMany(ProductionOrder::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function productCharacteristicsMasters()
|
||||
{
|
||||
return $this->hasMany(ProductCharacteristicsMaster::class, 'plant_id', 'id');
|
||||
|
||||
Reference in New Issue
Block a user