Added coil packing model file
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s

This commit is contained in:
dhanabalan
2026-09-10 17:03:18 +05:30
parent 5b5fdb3dd2
commit 93babbfe0e

View File

@@ -0,0 +1,35 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class CoilPacking extends Model
{
use SoftDeletes;
protected $fillable = [
'plant_id',
'item_id',
'coil_packing_number',
'process_order',
'coil_packing_status',
'created_at',
'updated_at',
'scanned_at',
'created_by',
'updated_by',
'scanned_by',
];
public function plant()
{
return $this->belongsTo(Plant::class);
}
public function item()
{
return $this->belongsTo(Item::class);
}
}