src/Entity/AreaDirectorToCustomer.php line 10
<?phpnamespace App\Entity;use App\Repository\AreaDirectorToCustomerRepository;use Doctrine\ORM\Mapping as ORM;use Gedmo\Timestampable\Traits\TimestampableEntity;#[ORM\Entity(repositoryClass: AreaDirectorToCustomerRepository::class)]class AreaDirectorToCustomer{use TimestampableEntity;#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255)]private ?string $customerID = null;#[ORM\ManyToOne(fetch: "EAGER")]#[ORM\JoinColumn(nullable: false)]private ?User $user = null;public function getId(): ?int{return $this->id;}public function getCustomerID(): ?string{return $this->customerID;}public function setCustomerID(string $customerID): self{$this->customerID = $customerID;return $this;}public function getUser(): ?User{return $this->user;}public function setUser(?User $user): self{$this->user = $user;return $this;}}