<?php namespace App\Shared\Entity; use App\Shared\Repository\UsersRepository; use Doctrine\DBAL\Types\Types; use Doctrine\ORM\Mapping as ORM; #[ORM\Entity(repositoryClass: UsersRepository::class)] class Users { #[ORM\Id] #[ORM\Column(type: Types::GUID)] private ?string $id = null; #[ORM\Column(length: 255)] private ?string $name = null; #[ORM\Column(length: 255)] private ?string $email = null; #[ORM\Column(length: 255)] private ?string $phone = null; #[ORM\Column] private ?bool $isMale = null; #[ORM\Column(length: 255)] private ?string $address = null; #[ORM\Column(type: Types::DATE_IMMUTABLE)] private ?\DateTimeImmutable $birthday = null; public function getId(): ?int { return $this->id; } public function setId(string $id): static { $this->id = $id; return $this; } public function getName(): ?string { return $this->name; } public function setName(string $name): static { $this->name = $name; return $this; } public function getEmail(): ?string { return $this->email; } public function setEmail(string $email): static { $this->email = $email; return $this; } public function getPhone(): ?string { return $this->phone; } public function setPhone(string $phone): static { $this->phone = $phone; return $this; } public function isMale(): ?bool { return $this->isMale; } public function setMale(bool $isMale): static { $this->isMale = $isMale; return $this; } public function getAddress(): ?string { return $this->address; } public function setAddress(string $address): static { $this->address = $address; return $this; } public function getBirthday(): ?\DateTimeImmutable { return $this->birthday; } public function setBirthday(\DateTimeImmutable $birthday): static { $this->birthday = $birthday; return $this; } }