''])] private string $description = ''; #[ORM\Column(type: \Doctrine\DBAL\Types\Types::TEXT, nullable: false, options: ['default' => ''])] private string $exportAlias; #[ORM\Id] #[ORM\Column(name: 'id', type: 'uuid', unique: true)] #[ORM\GeneratedValue(strategy: 'NONE')] private UuidInterface $id; #[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON, nullable: false, options: ['default' => '[]'])] private array $options = []; #[Assert\NotBlank] #[ORM\Column(type: \Doctrine\DBAL\Types\Types::TEXT, nullable: false, options: ['default' => ''])] private string $title = ''; #[ORM\ManyToOne(targetEntity: User::class)] private User $user; public function __construct() { $this->id = Uuid::uuid4(); } public function getDescription(): string { return $this->description; } public function getExportAlias(): string { return $this->exportAlias; } public function getId(): UuidInterface { return $this->id; } public function getOptions(): array { return $this->options; } public function getTitle(): string { return $this->title; } public function getUser(): User { return $this->user; } public function setDescription(?string $description): SavedExport { $this->description = (string) $description; return $this; } public function setExportAlias(string $exportAlias): SavedExport { $this->exportAlias = $exportAlias; return $this; } public function setOptions(array $options): SavedExport { $this->options = $options; return $this; } public function setTitle(?string $title): SavedExport { $this->title = (string) $title; return $this; } public function setUser(User $user): SavedExport { $this->user = $user; return $this; } }