Added laser winded serial validation error model files for hasMany relations
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 27s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 27s
This commit is contained in:
@@ -74,6 +74,11 @@ class Item extends Model
|
|||||||
return $this->hasMany(ClassCharacteristic::class, 'item_id', 'id');
|
return $this->hasMany(ClassCharacteristic::class, 'item_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function windedSerialValidationErrors()
|
||||||
|
{
|
||||||
|
return $this->hasMany(WindedSerialValidationError::class, 'item_id', 'id');
|
||||||
|
}
|
||||||
|
|
||||||
public function requestCharacteristics()
|
public function requestCharacteristics()
|
||||||
{
|
{
|
||||||
return $this->hasMany(RequestCharacteristic::class, 'item_id', 'id');
|
return $this->hasMany(RequestCharacteristic::class, 'item_id', 'id');
|
||||||
|
|||||||
@@ -48,6 +48,11 @@ class Machine extends Model
|
|||||||
return $this->hasMany(ClassCharacteristic::class, 'machine_id', 'id');
|
return $this->hasMany(ClassCharacteristic::class, 'machine_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function windedSerialValidationErrors()
|
||||||
|
{
|
||||||
|
return $this->hasMany(WindedSerialValidationError::class, 'machine_id', 'id');
|
||||||
|
}
|
||||||
|
|
||||||
public function requestCharacteristics()
|
public function requestCharacteristics()
|
||||||
{
|
{
|
||||||
return $this->hasMany(RequestCharacteristic::class, 'machine_id', 'id');
|
return $this->hasMany(RequestCharacteristic::class, 'machine_id', 'id');
|
||||||
|
|||||||
@@ -164,10 +164,10 @@ class Plant extends Model
|
|||||||
// return $this->hasMany(ModelMaster::class, 'plant_id', 'id');
|
// return $this->hasMany(ModelMaster::class, 'plant_id', 'id');
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// public function windedSerialValidationErrors()
|
public function windedSerialValidationErrors()
|
||||||
// {
|
{
|
||||||
// return $this->hasMany(WindedSerialValidationError::class, 'plant_id', 'id');
|
return $this->hasMany(WindedSerialValidationError::class, 'plant_id', 'id');
|
||||||
// }
|
}
|
||||||
|
|
||||||
public function requestCharacteristics()
|
public function requestCharacteristics()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user