32 lines
614 B
PHP
32 lines
614 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
|
|
class MasterProvider extends Model
|
|
{
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'Kode', 'Nama', 'Status', 'KodeSMF', 'KodeMaping', 'aktif'
|
|
];
|
|
|
|
/**
|
|
* The attributes excluded from the model's JSON form.
|
|
*
|
|
* @var array
|
|
*/
|
|
|
|
protected $hidden = [];
|
|
protected $table = 'TMOrgProvider';
|
|
protected $primaryKey = ['Kode'];
|
|
protected $keyType = 'string';
|
|
public $incrementing = false;
|
|
|
|
} |