28 lines
439 B
PHP
28 lines
439 B
PHP
<?php
|
|
|
|
namespace App\Models\Instance;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Cron extends Model
|
|
{
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'command',
|
|
'last_run',
|
|
];
|
|
|
|
/**
|
|
* The attributes that should be cast to native types.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $casts = [
|
|
'last_run' => 'datetime',
|
|
];
|
|
}
|