41 lines
807 B
PHP
41 lines
807 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Permohonan extends Model
|
|
{
|
|
protected $table = 'permohonan';
|
|
public $timestamps = false;
|
|
protected $connection = 'mysql7';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'mohonid',
|
|
'kodcaw',
|
|
'jenismohon',
|
|
'baki_petibesi',
|
|
'amaun_mohon',
|
|
'nama_pemohon',
|
|
'tarikh_permohonan',
|
|
'tarikh_diluluskan',
|
|
'jumlah_diluluskan',
|
|
'tarikh_terima',
|
|
'nama_penerima',
|
|
'outstandingsemasa',
|
|
'nopermohonan',
|
|
'tagterima'
|
|
];
|
|
|
|
/**
|
|
* The attributes excluded from the model's JSON form.
|
|
*
|
|
* @var array
|
|
*/
|
|
// protected $hidden = [];
|
|
} |