pembuatan api
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Vault extends Model
|
||||
{
|
||||
|
||||
protected $table = 'vault';
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = ['kodcaw',
|
||||
'tarikh',
|
||||
'bakiawal',
|
||||
'keluar',
|
||||
'masuk',
|
||||
'bakiakhir',
|
||||
'bakieod',
|
||||
'pendahuluan',
|
||||
'serahan',
|
||||
'1sen',
|
||||
'5sen',
|
||||
'10sen',
|
||||
'20sen',
|
||||
'50sen',
|
||||
'rm1',
|
||||
'rm2',
|
||||
'rm5',
|
||||
'rm10',
|
||||
'rm50',
|
||||
'rm100',
|
||||
'rm1000',
|
||||
'totPanjar'
|
||||
];
|
||||
|
||||
public $timestamps = false;
|
||||
/**
|
||||
* The attributes excluded from the model's JSON form.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
// protected $hidden = [];
|
||||
}
|
||||
Reference in New Issue
Block a user