Files
haushalt/backend/src/DTO/Request/UpdateSchemaRequest.php
Marek Lenczewski b998940caa update
2026-03-31 18:09:15 +02:00

23 lines
491 B
PHP

<?php
namespace App\DTO\Request;
use Symfony\Component\Validator\Constraints as Assert;
class UpdateSchemaRequest
{
use SchemaValidationTrait;
#[Assert\NotBlank]
#[Assert\Length(max: 255)]
public ?string $name = null;
public ?int $categoryId = null;
public bool $hasCategoryId = false;
public ?string $status = null;
public ?string $type = null;
public ?string $startDate = null;
public ?string $endDate = null;
public ?array $days = null;
}