Added sticker order model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

This commit is contained in:
dhanabalan
2026-09-14 15:30:16 +05:30
parent 95029454b2
commit 8b8b26e451

View File

@@ -0,0 +1,36 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class StickerOrder extends Model
{
use SoftDeletes;
protected $fillable = [
'plant_id',
'item_id',
'sticker_id',
'production_order',
'from_serial_number',
'to_serial_number',
'print_status',
'reprint_count',
'created_at',
'created_by',
'updated_at',
'updated_by',
];
public function plant()
{
return $this->belongsTo(Plant::class);
}
public function item()
{
return $this->belongsTo(Item::class);
}
}