32 lines
631 B
PHP
32 lines
631 B
PHP
|
<?php
|
||
|
|
||
|
namespace Modules\Admin\Models;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||
|
use Modules\Admin\Database\factories\ComplaintFactory;
|
||
|
|
||
|
class Complaint extends Model
|
||
|
{
|
||
|
use HasFactory;
|
||
|
|
||
|
protected $table = 'tbl_complaints';
|
||
|
protected $primaryKey = 'complaint_id';
|
||
|
|
||
|
/**
|
||
|
* The attributes that are mass assignable.
|
||
|
*/
|
||
|
protected $fillable = [
|
||
|
'complaint_id',
|
||
|
'employee_id',
|
||
|
'complaint_date',
|
||
|
'complaint_by',
|
||
|
'description',
|
||
|
'remarks',
|
||
|
'status',
|
||
|
'createdBy',
|
||
|
'updatedBy',
|
||
|
];
|
||
|
|
||
|
}
|