mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-05-07 20:32:26 +00:00
40 lines
786 B
PHP
40 lines
786 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Models;
|
|
|
|
use Database\Factories\FailedJobFactory;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Support\Carbon;
|
|
|
|
/**
|
|
* @property string $uuid
|
|
* @property string $connection
|
|
* @property string $queue
|
|
* @property Carbon $failed_at
|
|
*/
|
|
class FailedJob extends Model
|
|
{
|
|
/** @use HasFactory<FailedJobFactory> */
|
|
use HasFactory;
|
|
|
|
/**
|
|
* Indicates if the model should be timestamped.
|
|
*
|
|
* @var bool
|
|
*/
|
|
public $timestamps = false;
|
|
|
|
/**
|
|
* The attributes that should be cast to native types.
|
|
*
|
|
* @var array<string, string>
|
|
*/
|
|
protected $casts = [
|
|
'failed_at' => 'datetime',
|
|
'payload' => 'json',
|
|
];
|
|
}
|