src/Entity/CRM/CustomerHistory.php line 11
<?phpnamespace App\Entity\CRM;use App\Repository\CustomerHistoryRepository;use DateTimeInterface;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: CustomerHistoryRepository::class)]class CustomerHistory{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(inversedBy: 'customerHistories')]#[ORM\JoinColumn(nullable: false)]private ?Customer $customer = null;#[ORM\ManyToOne(inversedBy: 'customerHistories')]private ?Admin $admin = null;#[ORM\ManyToOne(inversedBy: 'customerHistories')]private ?Consultant $consultant = null;#[ORM\Column(type: Types::DATETIME_MUTABLE)]private ?DateTimeInterface $dateAdded = null;#[ORM\Column(type: Types::TEXT)]private ?string $comment = null;public function getId(): ?int{return $this->id;}public function getCustomer(): ?Customer{return $this->customer;}public function setCustomer(?Customer $customer): static{$this->customer = $customer;return $this;}public function getAdmin(): ?Admin{return $this->admin;}public function setAdmin(?Admin $admin): static{$this->admin = $admin;return $this;}public function getConsultant(): ?Consultant{return $this->consultant;}public function setConsultant(?Consultant $consultant): static{$this->consultant = $consultant;return $this;}public function getDateAdded(): ?DateTimeInterface{return $this->dateAdded;}public function setDateAdded(DateTimeInterface $dateAdded): static{$this->dateAdded = $dateAdded;return $this;}public function getComment(): ?string{return $this->comment;}public function setComment(string $comment): static{$this->comment = $comment;return $this;}}