*/ use HasFactory; protected $attributes = [ 'status' => 'draft', 'staged_rollout_percentage' => 100, 'auto_publish' => false, ]; public function mobileApp(): BelongsTo { return $this->belongsTo(MobileApp::class); } protected function casts(): array { return [ 'auto_publish' => 'boolean', 'bazaar_response' => 'array', 'committed_at' => 'datetime', 'published_at' => 'datetime', ]; } }