Added panel pallet validation model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 22s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 30s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 25s
Laravel Pint / pint (pull_request) Successful in 3m47s
Laravel Larastan / larastan (pull_request) Failing after 7m45s

This commit is contained in:
dhanabalan
2026-11-30 14:11:58 +05:30
parent b71030fbf1
commit 148c720554

View File

@@ -0,0 +1,39 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
class PanelPalletValidation extends Model
{
use SoftDeletes;
protected $fillable = [
'plant_id',
'item_id',
'pallet_number',
'serial_number',
'panel_box_supplier',
'panel_box_code',
'panel_box_serial_number',
'pallet_status',
'created_at',
'updated_at',
'scanned_at',
'created_by',
'updated_by',
'scanned_by',
];
public function plant(): BelongsTo
{
return $this->belongsTo(Plant::class);
}
public function item(): BelongsTo
{
return $this->belongsTo(Item::class);
}
}