Save workspace changes

This commit is contained in:
2026-04-18 17:02:56 +02:00
parent f02ea9a711
commit 87d60af5a9
4220 changed files with 1388603 additions and 1554 deletions

View File

@@ -0,0 +1,39 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
class ArtworkFeature extends Model
{
use SoftDeletes;
protected $table = 'artwork_features';
protected $fillable = [
'artwork_id',
'type',
'featured_at',
'expires_at',
'priority',
'label',
'note',
'is_active',
'force_hero',
'created_by',
];
protected $casts = [
'featured_at' => 'datetime',
'expires_at' => 'datetime',
'priority' => 'integer',
'is_active' => 'boolean',
'force_hero' => 'boolean',
];
public function artwork(): BelongsTo
{
return $this->belongsTo(Artwork::class);
}
}