You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
493 B
23 lines
493 B
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class ProcessHistories extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $fillable = [
|
|
'images', 'step_file_name', 'started_at', 'finished_at', 'processed_count', 'stages_timing'
|
|
];
|
|
|
|
protected $casts = [
|
|
'images' => 'array',
|
|
'stages_timing' => 'array',
|
|
'started_at' => 'datetime',
|
|
'finished_at' => 'datetime'
|
|
];
|
|
}
|