32 lines
641 B
PHP
32 lines
641 B
PHP
<?php
|
|
|
|
namespace Modules\Admin\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Modules\Admin\Database\factories\ResignationFactory;
|
|
|
|
class Resignation extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'tbl_resignations';
|
|
|
|
protected $primaryKey = 'resignation_id';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected $fillable = [
|
|
'employee_id',
|
|
'resignation_date',
|
|
'approved_date',
|
|
'approved_by',
|
|
'description',
|
|
'remarks',
|
|
'status',
|
|
'createdBy',
|
|
'updatedBy',
|
|
];
|
|
}
|