New-OMIS/Modules/Admin/app/Models/Transfer.php

30 lines
634 B
PHP
Raw Normal View History

<?php
namespace Modules\Admin\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Modules\Admin\Database\factories\TransferFactory;
class Transfer extends Model
{
use HasFactory;
protected $table = 'tbl_transfers';
protected $primaryKey = 'transfer_id';
/**
* The attributes that are mass assignable.
*/
protected $fillable = [
'employee_id',
'old_department_id',
'new_department_id',
'status',
'transfer_date',
'description',
'remarks',
'createdBy',
'updatedBy',
];
}