49 lines
872 B
PHP
49 lines
872 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Mohonid extends Model
|
|
{
|
|
protected $table = 'mohonid';
|
|
public $timestamps = false;
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'recno',
|
|
'tarikh',
|
|
'onlineid',
|
|
'mohon',
|
|
'norujukan',
|
|
'id',
|
|
'katalaluan',
|
|
'benar',
|
|
'pinjaman',
|
|
'nilaimarhun',
|
|
'berat',
|
|
'margin',
|
|
'teller',
|
|
'masa',
|
|
'tagoperasi',
|
|
'ansuran',
|
|
'operasi',
|
|
'timestamp_approved_by_pc',
|
|
'timestamp_approved_by_operasi',
|
|
];
|
|
|
|
protected $casts = [
|
|
'id' => 'string',
|
|
];
|
|
|
|
/**
|
|
* The attributes excluded from the model's JSON form.
|
|
*
|
|
* @var array
|
|
*/
|
|
// protected $hidden = [];
|
|
} |