Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

513 B
Raw Blame
<?php

declare(strict_types=1);

namespace HiEvents\Http\Request\Lineup;

use HiEvents\DomainObjects\Enums\LineupBillingTier;
use HiEvents\Http\Request\BaseRequest;
use Illuminate\Validation\Rule;

class UpdateLineupEntryRequest extends BaseRequest
{
    public function rules(): array
    {
        return [
            'billing_tier' => ['required', Rule::enum(LineupBillingTier::class)],
            'role_label' => ['nullable', 'string', 'max:100'],
            'is_hidden' => ['boolean'],
        ];
    }
}