37 lines
579 B
PHP
37 lines
579 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Polis extends Model
|
|
{
|
|
protected $table = 'polis';
|
|
public $timestamps = false;
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'tarikh',
|
|
'kodcaw',
|
|
'norujukan',
|
|
'komen1',
|
|
'komen2',
|
|
'tebus',
|
|
'recno',
|
|
'teller',
|
|
'caj'
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
* The attributes excluded from the model's JSON form.
|
|
*
|
|
* @var array
|
|
*/
|
|
// protected $hidden = [];
|
|
} |