This commit is contained in:
afiq
2021-01-28 12:00:56 +08:00
parent aaf1679c6c
commit 84a94d5b3c
4 changed files with 86 additions and 19 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class KomuditiProduk extends Model
{
protected $table = 'komuditi_produk';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'kodproduk','description','unit'
];
/**
* The attributes excluded from the model's JSON form.
*
* @var array
*/
// protected $hidden = [];
}