<?php namespace App\News\Request; use App\Shared\Abstraction\AbstractRequest; use Ramsey\Collection\Collection; use Symfony\Component\Validator\Constraints\All; use Symfony\Component\Validator\Constraints\Type; use Symfony\Component\Validator\Constraints\Uuid; use Symfony\Contracts\Service\Attribute\Required; class NewsPartUpdateRequest extends AbstractRequest { #[Uuid] public $uuid; #[Type('string')] public $name; #[Type('string')] public $code; #[Type('bool')] public $active; #[Type('bool')] public bool $main_page_render; #[Uuid] public $preview_text; #[Uuid] public $detail_text; #[Uuid] public $type_uuid; #[All( new Uuid() )] public $categories_uuid; #[Uuid] public $detail_image; #[Uuid] public $preview_image; }