Форматирование
This commit is contained in:
@@ -7,7 +7,9 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class MisBed extends Model
|
||||
{
|
||||
protected $table = 'stt_Bed';
|
||||
|
||||
protected $primaryKey = 'BedID';
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $fillable = [
|
||||
@@ -24,14 +26,14 @@ class MisBed extends Model
|
||||
'x_Edition',
|
||||
'x_Status',
|
||||
'ShiftNum',
|
||||
'rf_PreviousBedID'
|
||||
'rf_PreviousBedID',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'DateWorkB' => 'datetime',
|
||||
'DateWorkE' => 'datetime',
|
||||
'UGUID' => 'string',
|
||||
'x_Status' => 'integer'
|
||||
'x_Status' => 'integer',
|
||||
];
|
||||
|
||||
public function bedActions()
|
||||
|
||||
Reference in New Issue
Block a user