48 lines
755 B
PHP
48 lines
755 B
PHP
<?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 = [];
|
|
} |