44 lines
808 B
PHP
44 lines
808 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class FailoverTransaction extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $table = 'failover_transaction';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'kodcaw',
|
|
'teller',
|
|
'old_norujukan',
|
|
'new_norujukan',
|
|
'db_caw',
|
|
'db_online',
|
|
'status',
|
|
'resolve_time',
|
|
];
|
|
|
|
/**
|
|
* The attributes that should be cast.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $casts = [
|
|
'db_caw' => 'boolean',
|
|
'db_online' => 'boolean',
|
|
'resolve_time' => 'datetime',
|
|
];
|
|
}
|