89 lines
1.6 KiB
PHP
89 lines
1.6 KiB
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Product extends Model
|
|
{
|
|
protected $table = 'product';
|
|
public $timestamps = false;
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'prkod',
|
|
'tarikh',
|
|
'database',
|
|
'keterangan',
|
|
'tempoh',
|
|
'tempohmax',
|
|
'pinjaman',
|
|
'pinjaman2',
|
|
'marginmin',
|
|
'marginmax',
|
|
'marginansur',
|
|
'laporan',
|
|
'lanjut1',
|
|
'lanjut2',
|
|
'matang',
|
|
'notis1',
|
|
'notis2',
|
|
'notis3',
|
|
'nt1',
|
|
'nt2',
|
|
'nt3',
|
|
'nt1a',
|
|
'nt2a',
|
|
'nt3a',
|
|
'cajnotis3',
|
|
'cajnotis',
|
|
'sks1',
|
|
'sks2',
|
|
'sks3',
|
|
'sks4',
|
|
'sks5',
|
|
'sks6',
|
|
'sks1n',
|
|
'sks2n',
|
|
'sks3n',
|
|
'sks4n',
|
|
'sks5n',
|
|
'sks6n',
|
|
'pkadarupah',
|
|
'hari',
|
|
'kodgl',
|
|
'kodglxtra',
|
|
'glcode',
|
|
'glcodebk',
|
|
'glcode_up',
|
|
'glcode_kc',
|
|
'glcode_cn',
|
|
'glcode_cl',
|
|
'glcode_hk',
|
|
'glcode_sc',
|
|
'pilihtempoh',
|
|
'harisebulan',
|
|
'hari15',
|
|
'jenisansur',
|
|
'glcode_up_jmc',
|
|
'glpd_xtra',
|
|
'glcode_upxtra',
|
|
'glcode_clxtra',
|
|
'glcode_scxtra',
|
|
'glcode_rugilelxtra',
|
|
'gl_phk',
|
|
'gl_bp',
|
|
'gl_belumbp'
|
|
];
|
|
|
|
/**
|
|
* The attributes excluded from the model's JSON form.
|
|
*
|
|
* @var array
|
|
*/
|
|
// protected $hidden = [];
|
|
} |