Files
pds/app/Models/DealerVisitPlan.php
dhanabalan fe1be84743
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 30s
Added dealer visit plan model file
2026-07-26 10:31:36 +05:30

34 lines
668 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
class DealerVisitPlan extends Model
{
use SoftDeletes;
protected $fillable = [
'employee_master_id',
'name',
'company',
'visit_plan_date',
'organizer',
'mobile_number',
'number_of_person',
'purpose_of_visit',
'mode_of_travel',
'status',
'created_by',
'updated_by',
];
public function employeeMaster(): BelongsTo
{
return $this->belongsTo(EmployeeMaster::class);
}
}