mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 12:08:47 +02:00
N°7063 - Forms SDK - Add Symfony forms component
error forms issue
This commit is contained in:
18
sources/FormImplementation/Dto/ObjectSearchDto.php
Normal file
18
sources/FormImplementation/Dto/ObjectSearchDto.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Combodo\iTop\FormImplementation\Dto;
|
||||
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
||||
class ObjectSearchDto
|
||||
{
|
||||
public function __construct(
|
||||
#[Assert\NotBlank]
|
||||
public readonly string $class,
|
||||
#[Assert\NotBlank]
|
||||
public readonly string $oql,
|
||||
public readonly string $fields,
|
||||
public readonly string $search = '',
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user