34 lines
560 B
PHP
34 lines
560 B
PHP
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use Carbon\Carbon;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Class DailyTaskSchedule
|
|
*
|
|
* @property int $id
|
|
* @property string $task
|
|
* @property Carbon $next_run_time
|
|
* @property Carbon|null $created_at
|
|
* @property Carbon|null $updated_at
|
|
*/
|
|
class DailyTaskSchedule extends Model
|
|
{
|
|
protected $table = 'daily_task_schedules';
|
|
|
|
protected $casts = [
|
|
'next_run_time' => 'datetime',
|
|
];
|
|
|
|
protected $fillable = [
|
|
'task',
|
|
'next_run_time',
|
|
];
|
|
}
|