<?phpnamespace App\Entity;use App\Repository\DomainRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=DomainRepository::class) * @ORM\EntityListeners({"App\Listener\EntityListener"}) */class Domain{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=200) */ private $name; /** * @ORM\Column(type="string", length=200) */ private $url; /** * @ORM\Column(type="string", length=200) */ private $host; /** * @ORM\Column(type="datetime") */ private $createts; /** * @ORM\Column(type="string") */ private $locale; /** * @ORM\Column(type="array") */ private $currencies; /** * @ORM\ManyToOne(targetEntity="App\Entity\User") * @ORM\JoinColumn(nullable=false) */ private $createUser; /** * @ORM\Column(type="datetime", nullable=true) */ private $editts; /** * @ORM\ManyToOne(targetEntity="App\Entity\User") */ private $editUser; public function getId(): ?int { return $this->id; } public function getName(): ?string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function getUrl(): ?string { return $this->url; } public function setUrl(string $url): self { $this->url = $url; return $this; } public function getCreatets(): ?\DateTimeInterface { return $this->createts; } public function setCreatets(\DateTimeInterface $createts): self { $this->createts = $createts; return $this; } public function getCreateUser(): ?User { return $this->createUser; } public function setCreateUser(?User $createUser): self { $this->createUser = $createUser; return $this; } public function getEditts(): ?\DateTimeInterface { return $this->editts; } public function setEditts(?\DateTimeInterface $editts): self { $this->editts = $editts; return $this; } public function getEditUser(): ?User { return $this->editUser; } public function setEditUser(?User $editUser): self { $this->editUser = $editUser; return $this; } /** * Get Host * * @return mixed */ public function getHost() { return $this->host; } /** * Set Host * * @param mixed $host */ public function setHost( $host ) { $this->host = $host; } /** * Get Locale * * @return mixed */ public function getLocale() { return $this->locale; } /** * Set Locale * * @param mixed $locale */ public function setLocale( $locale ) { $this->locale = $locale; } /** * Get Currencies * * @return mixed */ public function getCurrencies() { return $this->currencies; } /** * Set Currencies * * @param mixed $currencies */ public function setCurrencies( $currencies ) { $this->currencies = $currencies; }}