Merge pull request 'Added machines model in line' (#789) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 23s

Reviewed-on: #789
This commit was merged in pull request #789.
This commit is contained in:
2026-06-26 05:16:55 +00:00

View File

@@ -61,6 +61,11 @@ class Line extends Model
return $this->hasMany(ProcessOrder::class); return $this->hasMany(ProcessOrder::class);
} }
public function machines()
{
return $this->hasMany(Machine::class);
}
public function productCharacteristicsMasters() public function productCharacteristicsMasters()
{ {
return $this->hasMany(ProductCharacteristicsMaster::class); return $this->hasMany(ProductCharacteristicsMaster::class);