Files
pds/app/Models/CoilPacking.php
dhanabalan 93babbfe0e
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Added coil packing model file
2026-09-10 17:03:18 +05:30

36 lines
642 B
PHP

<?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);
}
}