add api
This commit is contained in:
+50
-3
@@ -7,15 +7,62 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class Gadai extends Model
|
||||
{
|
||||
protected $table = 'gadai';
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
// protected $fillable = [
|
||||
|
||||
// ];
|
||||
protected $fillable = [
|
||||
'kodcaw',
|
||||
'norujukan',
|
||||
'nopelanggan',
|
||||
'nokp',
|
||||
't_gadai',
|
||||
'masa',
|
||||
'nilaimarhun',
|
||||
'berat',
|
||||
'pinjaman',
|
||||
'telahbayar',
|
||||
'upahtelahbyr',
|
||||
'CajTelahByr',
|
||||
'ansuran',
|
||||
'ansupah',
|
||||
'kadarupah',
|
||||
'tempoh',
|
||||
't_Lelong',
|
||||
't_Hapus',
|
||||
'sttebus',
|
||||
'terima',
|
||||
'cetak',
|
||||
'tnCek',
|
||||
'noCek',
|
||||
'bkcode',
|
||||
'teller',
|
||||
'pelulus',
|
||||
'cancelid',
|
||||
'canceltime',
|
||||
'f_lulus',
|
||||
'tag',
|
||||
'jbg',
|
||||
'bakiPJM',
|
||||
'bakiupah',
|
||||
'marhun' ,
|
||||
'taglel' ,
|
||||
't_update',
|
||||
'penilai' ,
|
||||
'tagserah' ,
|
||||
'namapelulus' ,
|
||||
'percentpinj' ,
|
||||
'namateller' ,
|
||||
'jumtebus' ,
|
||||
'upahnotis',
|
||||
'tagpalsu' ,
|
||||
'tagcetak' ,
|
||||
'lel1stop' ,
|
||||
'tebus',
|
||||
];
|
||||
|
||||
/**
|
||||
* The attributes excluded from the model's JSON form.
|
||||
|
||||
Reference in New Issue
Block a user