src/Entity/GeneralMailConfiguration.php line 12
<?phpnamespace App\Entity;use App\Repository\GeneralMailConfigurationRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;use Symfony\Component\Validator\Constraints\GreaterThanOrEqual;use Symfony\Component\Validator\Constraints\NotBlank;#[ORM\Entity(repositoryClass: GeneralMailConfigurationRepository::class)]class GeneralMailConfiguration{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255)]#[NotBlank]private ?string $host = null;#[ORM\Column(length: 255)]#[NotBlank]private ?string $mail = null;#[ORM\Column(length: 255)]#[NotBlank(groups: ['new-mail-config'])]private ?string $password = null;#[ORM\Column]#[NotBlank]#[GreaterThanOrEqual(1)]private ?int $port = null;#[ORM\Column(length: 255, nullable: true)]private ?string $nameToShow = null;#[ORM\Column(type: Types::TEXT)]#[NotBlank]private ?string $resetPasswordTemplate = null;#[ORM\Column(nullable: true)]private ?bool $isResetPasswordTemplateHtml = null;public function getId(): ?int{return $this->id;}public function getHost(): ?string{return $this->host;}public function setHost(string $host): self{$this->host = $host;return $this;}public function getMail(): ?string{return $this->mail;}public function setMail(string $mail): self{$this->mail = $mail;return $this;}public function getPassword(): ?string{return $this->password;}public function setPassword(?string $password): self{$this->password = $password;return $this;}public function getPort(): ?int{return $this->port;}public function setPort(int $port): self{$this->port = $port;return $this;}public function getNameToShow(): ?string{return $this->nameToShow;}public function setNameToShow(?string $nameToShow): self{$this->nameToShow = $nameToShow;return $this;}public function getResetPasswordTemplate(): ?string{return $this->resetPasswordTemplate;}public function setResetPasswordTemplate(string $resetPasswordTemplate): self{$this->resetPasswordTemplate = $resetPasswordTemplate;return $this;}public function isIsResetPasswordTemplateHtml(): ?bool{return $this->isResetPasswordTemplateHtml;}public function setIsResetPasswordTemplateHtml(?bool $isResetPasswordTemplateHtml): self{$this->isResetPasswordTemplateHtml = $isResetPasswordTemplateHtml;return $this;}}