46 lines
775 B
PHP
46 lines
775 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Blacklist extends Model
|
|
{
|
|
protected $table = 'senhitam';
|
|
protected $connection = 'mysql7';
|
|
public $timestamps = false;
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
|
|
protected $fillable = [
|
|
'nosiri',
|
|
'kodcaw',
|
|
'tarikhdaftar',
|
|
'kplama',
|
|
'kpbaru',
|
|
'nokp',
|
|
'nama',
|
|
't_lahir',
|
|
'jantina',
|
|
'alamat1',
|
|
'alamat2',
|
|
'alamat3',
|
|
'alamat4',
|
|
'telefon',
|
|
'nota',
|
|
'teller',
|
|
'pelulus',
|
|
];
|
|
|
|
/**
|
|
* The attributes excluded from the model's JSON form.
|
|
*
|
|
* @var array
|
|
*/
|
|
// protected $hidden = [];
|
|
}
|