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