first commit
This commit is contained in:
31
Modules/Office/app/Models/Contract.php
Normal file
31
Modules/Office/app/Models/Contract.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?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',
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user