Files
aibuddytool/app/Models/Job.php
2023-10-02 12:48:27 +08:00

44 lines
825 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Job extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'jobs';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'queue',
'payload',
'attempts',
'reserved_at',
'available_at',
'created_at',
];
/**
* The attributes that should be cast to native types.
*
* @var array
*/
protected $casts = [
'attempts' => 'integer',
'reserved_at' => 'integer',
'available_at' => 'integer',
'created_at' => 'integer',
];
// Relationships, accessors, mutators and other model methods can be added here
}