true])] private bool $isActive = true; #[Assert\Regex(pattern: '/^[a-z0-9\-_]{1,}$/', message: 'budget.admin.form.kind.only_alphanumeric')] #[Assert\Length(min: 3)] #[ORM\Column(type: \Doctrine\DBAL\Types\Types::STRING, length: 255, options: ['default' => ''], nullable: false)] private string $kind = ''; #[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON, length: 255, options: ['default' => '[]'])] private array $name = []; #[ORM\Column(type: \Doctrine\DBAL\Types\Types::FLOAT, options: ['default' => '0.00'])] private float $ordering = 0.00; #[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON, length: 255, options: ['default' => '[]'])] private array $tags = []; public function getId(): ?int { return $this->id; } public function getIsActive(): bool { return $this->isActive; } public function getKind(): string { return $this->kind; } public function getName(): ?array { return $this->name; } public function getOrdering(): float { return $this->ordering; } public function setIsActive(bool $isActive): self { $this->isActive = $isActive; return $this; } public function setKind(string $kind): self { $this->kind = $kind; return $this; } public function setName(array $name): self { $this->name = $name; return $this; } public function setOrdering(float $ordering): ChargeKind { $this->ordering = $ordering; return $this; } }