ranjith-dev #983

Merged
jothi merged 9 commits from ranjith-dev into master 2026-09-05 10:47:17 +00:00
2 changed files with 9 additions and 4 deletions
Showing only changes of commit f6f73edb5f - Show all commits

View File

@@ -48,6 +48,11 @@ class Machine extends Model
return $this->hasMany(ClassCharacteristic::class, 'machine_id', 'id');
}
public function ModelMasters()
{
return $this->hasMany(ModelMaster::class, 'machine_id', 'id');
}
public function windedSerialValidationErrors()
{
return $this->hasMany(WindedSerialValidationError::class, 'machine_id', 'id');

View File

@@ -164,10 +164,10 @@ class Plant extends Model
return $this->hasMany(ClassCharacteristic::class, 'plant_id', 'id');
}
// public function ModelMasters()
// {
// return $this->hasMany(ModelMaster::class, 'plant_id', 'id');
// }
public function ModelMasters()
{
return $this->hasMany(ModelMaster::class, 'plant_id', 'id');
}
public function windedSerialValidationErrors()
{