Files
pds/app/Models/CourierInward.php
dhanabalan 4fd91ec11d
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Added courier inward model file
2026-11-02 10:44:59 +05:30

35 lines
643 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
class CourierInward extends Model
{
use SoftDeletes;
protected $fillable = [
'plant_id',
'date',
'from_address_name',
'cover_material',
'pod_number',
'courier_name',
'place',
'to_address_name',
'return_to_other_unit',
'created_at',
'updated_at',
'created_by',
'updated_by',
];
public function plant(): BelongsTo
{
return $this->belongsTo(Plant::class);
}
}