29 lines
597 B
PHP
29 lines
597 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Reference extends Model
|
|
{
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'Kode', 'Nama', 'Pros', 'Tipe', 'KodeMaping', 'aktif', 'kdRekBlj', 'NM', 'NIP','NMRekening'
|
|
];
|
|
|
|
/**
|
|
* The attributes excluded from the model's JSON form.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $hidden = [];
|
|
protected $table = 'TMLogReference';
|
|
protected $primaryKey = 'Kode';
|
|
protected $keyType = 'string';
|
|
public $incrementing = false;
|
|
} |