Files
2024-04-19 14:04:41 +07:00

32 lines
577 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Builder;
class MasterStok extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'Kode', 'Nama', 'aktif', 'Pros'
];
/**
* The attributes excluded from the model's JSON form.
*
* @var array
*/
protected $hidden = [];
protected $table = 'TMStock';
protected $primaryKey = ['Kode'];
protected $keyType = 'string';
public $incrementing = false;
}