'array', 'secondary_category_ids' => 'array', 'nsfw' => 'boolean', 'is_scanned' => 'boolean', 'has_tags' => 'boolean', 'published_at' => 'datetime', 'expires_at' => 'datetime', 'moderated_at' => 'datetime', ]; public function user(): BelongsTo { return $this->belongsTo(User::class); } public function category(): BelongsTo { return $this->belongsTo(Category::class); } }