Added item id in sticker mapping master model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Laravel Larastan / larastan (pull_request) Failing after 38s
Laravel Pint / pint (pull_request) Failing after 1m22s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Laravel Larastan / larastan (pull_request) Failing after 38s
Laravel Pint / pint (pull_request) Failing after 1m22s
This commit is contained in:
@@ -12,7 +12,7 @@ class StickerMappingMaster extends Model
|
|||||||
|
|
||||||
protected $fillable = [
|
protected $fillable = [
|
||||||
'plant_id',
|
'plant_id',
|
||||||
'item_characteristic_id',
|
'item_id',
|
||||||
|
|
||||||
'sticker_structure1_id',
|
'sticker_structure1_id',
|
||||||
'sticker1_machine_id',
|
'sticker1_machine_id',
|
||||||
@@ -50,11 +50,6 @@ class StickerMappingMaster extends Model
|
|||||||
return $this->belongsTo(Plant::class);
|
return $this->belongsTo(Plant::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function itemCharacteristic()
|
|
||||||
{
|
|
||||||
return $this->belongsTo(ItemCharacteristic::class);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function item(): BelongsTo
|
public function item(): BelongsTo
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Item::class, 'item_id');
|
return $this->belongsTo(Item::class, 'item_id');
|
||||||
|
|||||||
Reference in New Issue
Block a user