This commit is contained in:
LAPTOP-DGCU80CH\user1
2020-11-08 15:59:21 +08:00
parent ba7e18eee1
commit 4f463412b0
11 changed files with 325 additions and 45 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Transaction extends Model
{
protected $table = 'transaction';
public $timestamps = false;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'trans_type','norujukan','nokp','teller','kodcaw','duit_masuk','duit_keluar','created_at'
];
/**
* The attributes excluded from the model's JSON form.
*
* @var array
*/
// protected $hidden = [];
}