$file_ids * @property list $folder_ids * @property list|null $contained_file_ids * @property list|null $skipped_files * @property Carbon|null $delivered_at * @property Carbon|null $started_at */ class ZipDownload extends Model { public const STATUS_PENDING = 'pending'; public const STATUS_READY = 'ready'; public const STATUS_FAILED = 'failed'; protected $guarded = []; protected function casts(): array { return [ 'file_ids' => 'array', 'folder_ids' => 'array', 'contained_file_ids' => 'array', 'skipped_files' => 'array', 'delivered_at' => 'datetime', 'started_at' => 'datetime', ]; } /** * @return BelongsTo */ public function requester(): BelongsTo { return $this->belongsTo(User::class, 'requested_by'); } }