IMEI device API: telemetry, commands, receipts + migrations and routing
This commit is contained in:
17
app/Models/CommandReceipt.php
Normal file
17
app/Models/CommandReceipt.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user