to squeeze

This commit is contained in:
Clément
2025-06-03 14:10:35 +02:00
parent ea0884d39f
commit 2c4aeb4704
83 changed files with 1566 additions and 69 deletions

51
laravel/app/Models/JobBatch.php Executable file
View File

@@ -0,0 +1,51 @@
<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Class JobBatch
*
* @property string $id
* @property string $name
* @property int $total_jobs
* @property int $pending_jobs
* @property int $failed_jobs
* @property string $failed_job_ids
* @property string|null $options
* @property int|null $cancelled_at
* @property int $created_at
* @property int|null $finished_at
*
* @package App\Models
*/
class JobBatch extends Model
{
protected $table = 'job_batches';
public $incrementing = false;
public $timestamps = false;
protected $casts = [
'total_jobs' => 'int',
'pending_jobs' => 'int',
'failed_jobs' => 'int',
'cancelled_at' => 'int',
'finished_at' => 'int'
];
protected $fillable = [
'name',
'total_jobs',
'pending_jobs',
'failed_jobs',
'failed_job_ids',
'options',
'cancelled_at',
'finished_at'
];
}