32 lines
594 B
PHP
32 lines
594 B
PHP
<?php
|
|
|
|
namespace Modules\Office\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Modules\Office\Database\factories\ContractFactory;
|
|
|
|
class Contract extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'tbl_contracts';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
|
|
protected $fillable = [
|
|
'name',
|
|
'party',
|
|
'contract_date',
|
|
'expiry_date',
|
|
'document',
|
|
'status',
|
|
'description',
|
|
'remarks',
|
|
'createdBy',
|
|
'updatedBy',
|
|
];
|
|
}
|