feat: ship creator journey v2 and profile updates
This commit is contained in:
@@ -3,21 +3,33 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class ArtworkFeature extends Model
|
||||
{
|
||||
protected $table = 'artwork_features';
|
||||
use SoftDeletes;
|
||||
|
||||
public $timestamps = false;
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user