Added temp stop characteristics model files for hasMany relations
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
This commit is contained in:
@@ -105,6 +105,11 @@ class Item extends Model
|
||||
return $this->hasMany(TempClassCharacteristic::class, 'item_id', 'id');
|
||||
}
|
||||
|
||||
public function tempStopCharacteristics()
|
||||
{
|
||||
return $this->hasMany(TempStopCharacteristic::class, 'item_id', 'id');
|
||||
}
|
||||
|
||||
public function weightValidations()
|
||||
{
|
||||
return $this->hasMany(WeightValidation::class);
|
||||
|
||||
@@ -88,6 +88,11 @@ class Machine extends Model
|
||||
return $this->hasMany(TempClassCharacteristic::class, 'machine_id', 'id');
|
||||
}
|
||||
|
||||
public function tempStopCharacteristics()
|
||||
{
|
||||
return $this->hasMany(TempStopCharacteristic::class, 'machine_id', 'id');
|
||||
}
|
||||
|
||||
public function equipmentMasters()
|
||||
{
|
||||
return $this->hasMany(EquipmentMaster::class, 'machine_id', 'id');
|
||||
|
||||
@@ -189,10 +189,10 @@ class Plant extends Model
|
||||
return $this->hasMany(TempClassCharacteristic::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
// public function tempStopCharacteristics()
|
||||
// {
|
||||
// return $this->hasMany(TempStopCharacteristic::class, 'plant_id', 'id');
|
||||
// }
|
||||
public function tempStopCharacteristics()
|
||||
{
|
||||
return $this->hasMany(TempStopCharacteristic::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function users()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user