<?php
namespace Harmonizely\DTO\Export\Request;
use Harmonizely\Core\Serializer\Contract\ISerializableObject;
use Symfony\Component\Validator\Constraints as Assert;
class ExportRequestDTO implements ISerializableObject
{
/**
* @var int|null
*/
private ?int $id;
/**
* @Assert\Choice(callback={"Harmonizely\Types\Company\ExportType", "getTypes"})
* @var string|null
*/
private ?string $type;
/**
* @return int|null
*/
public function getId(): ?int
{
return $this->id;
}
/**
* @return string|null
*/
public function getType(): ?string
{
return $this->type;
}
}