src/Entity/CRM/AccountingOfficeSendingNote.php line 12
<?phpnamespace App\Entity\CRM;use App\Entity\CRM\Admin;use App\Entity\CRM\Consultant;use App\Repository\AccountingOfficeSendingNoteRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: AccountingOfficeSendingNoteRepository::class)]class AccountingOfficeSendingNote{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(inversedBy: 'accountingOfficeSendingNotes')]private ?Admin $admin = null;#[ORM\ManyToOne(inversedBy: 'accountingOfficeSendingNotes')]private ?Consultant $consultant = null;#[ORM\Column(length: 500)]private ?string $note = null;#[ORM\Column(type: Types::DATETIME_MUTABLE)]private ?\DateTimeInterface $dateAdded = null;#[ORM\Column]private ?int $sendingId = null;#[ORM\Column]private ?int $productId = null;public function getId(): ?int{return $this->id;}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 getNote(): ?string{return $this->note;}public function setNote(string $note): static{$this->note = $note;return $this;}public function getDateAdded(): ?\DateTimeInterface{return $this->dateAdded;}public function setDateAdded(\DateTimeInterface $dateAdded): static{$this->dateAdded = $dateAdded;return $this;}public function getSendingId(): ?int{return $this->sendingId;}public function setSendingId(int $sendingId): static{$this->sendingId = $sendingId;return $this;}public function getProductId(): ?int{return $this->productId;}public function setProductId(int $productId): static{$this->productId = $productId;return $this;}}