This commit is contained in:
ct
2025-08-10 21:10:33 +08:00
parent 480bd9055d
commit 583a804073
43 changed files with 7623 additions and 270 deletions

View File

@@ -0,0 +1,34 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class CrawlShotJob extends Model
{
use HasFactory;
protected $fillable = [
'uuid',
'type',
'url',
'status',
'parameters',
'file_path',
'error_message',
'started_at',
'completed_at'
];
protected $casts = [
'parameters' => 'array',
'started_at' => 'datetime',
'completed_at' => 'datetime'
];
public function getRouteKeyName()
{
return 'uuid';
}
}