src/Entity/CRM/WorkHistory.php line 10
<?phpnamespace App\Entity\CRM;use App\Repository\WorkHistoryRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: WorkHistoryRepository::class)]class WorkHistory{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255)]private ?string $historyType = null;#[ORM\Column(type: Types::DATETIME_MUTABLE)]private ?\DateTimeInterface $dateAdded = null;#[ORM\Column(length: 255)]private ?string $content = null;#[ORM\ManyToOne(inversedBy: 'workHistories')]private ?Admin $admin = null;#[ORM\ManyToOne(inversedBy: 'workHistories')]private ?Consultant $consultant = null;#[ORM\Column]private ?bool $systemHistory = null;public function getId(): ?int{return $this->id;}public function getHistoryType(): ?string{return $this->historyType;}public function setHistoryType(string $historyType): static{$this->historyType = $historyType;return $this;}public function getDateAdded(): ?\DateTimeInterface{return $this->dateAdded;}public function setDateAdded(\DateTimeInterface $dateAdded): static{$this->dateAdded = $dateAdded;return $this;}public function getContent(): ?string{return $this->content;}public function setContent(string $content): static{$this->content = $content;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 isSystemHistory(): ?bool{return $this->systemHistory;}public function setSystemHistory(bool $systemHistory): static{$this->systemHistory = $systemHistory;return $this;}}