Added courier outward model file
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s

This commit is contained in:
dhanabalan
2026-11-02 11:19:24 +05:30
parent d62bf6cd47
commit d371195023

View File

@@ -0,0 +1,32 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
class CourierOutward extends Model
{
use SoftDeletes;
protected $fillable = [
'plant_id',
'date',
'to_address',
'cover_material',
'name_of_sender',
'place_pincode',
'pod_number',
'remark',
'created_at',
'updated_at',
'created_by',
'updated_by',
];
public function plant(): BelongsTo
{
return $this->belongsTo(Plant::class);
}
}