Added sticker order realtion in plant model
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
This commit is contained in:
@@ -243,4 +243,10 @@ class Plant extends Model
|
|||||||
{
|
{
|
||||||
return $this->hasMany(ProductionTemp::class, 'plant_id', 'id');
|
return $this->hasMany(ProductionTemp::class, 'plant_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function stickerOrder()
|
||||||
|
{
|
||||||
|
return $this->hasMany(StickerOrder::class, 'plant_id', 'id');
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user