Laravel-GPS-API/app/Models/CommandReceipt.php

18 lines
333 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class CommandReceipt extends Model
{
protected $fillable = [
'command_id','device_id','acked_at','executed_at','result','result_detail',
];
protected $casts = [
'acked_at' => 'datetime',
'executed_at' => 'datetime',
];
}