28 lines
545 B
PHP
28 lines
545 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class CawanganNotis extends Model
|
|
{
|
|
protected $table = 'cawangan_notis';
|
|
public $timestamps = true;
|
|
protected $primaryKey = 'id';
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'id','notis_id','kodcaw','peringatan','daritempoh','hinggatempoh','status'
|
|
];
|
|
|
|
/**
|
|
* The attributes excluded from the model's JSON form.
|
|
*
|
|
* @var array
|
|
*/
|
|
// protected $hidden = [];
|
|
}
|