src/Entity/CRM/CommercialOfferIndividual.php line 10
<?phpnamespace App\Entity\CRM;use App\Repository\CommercialOfferIndividualRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: CommercialOfferIndividualRepository::class)]class CommercialOfferIndividual{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(type: Types::TEXT)]private ?string $htmlContent = null;#[ORM\Column(length: 255)]private ?string $documentPath = null;#[ORM\ManyToOne(inversedBy: 'commercialOfferIndividuals')]#[ORM\JoinColumn]private ?CustomerAddress $customerAddress = null;#[ORM\ManyToOne(inversedBy: 'commercialOfferIndividuals')]private ?Consultant $createdByConsultant = null;#[ORM\ManyToOne(inversedBy: 'commercialOfferIndividuals')]private ?Admin $createdByAdmin = null;#[ORM\ManyToOne(inversedBy: 'commercialOfferIndividuals')]#[ORM\JoinColumn(nullable: false)]private ?CommercialOffer $commercialOffer = null;#[ORM\ManyToOne(inversedBy: 'individualOffers')]#[ORM\JoinColumn(nullable: false)]private ?CommercialOfferSendings $commercialOfferSendings = null;#[ORM\Column(type: Types::DATETIME_MUTABLE)]private ?\DateTimeInterface $addedDate = null;// #[ORM\Column]// private ?bool $isAccepted = null;//// #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]// private ?\DateTimeInterface $acceptedDate = null;//// #[ORM\ManyToOne(inversedBy: 'commercialOfferIndividualsAccepted')]// private ?Admin $acceptedBy = null;#[ORM\Column(type: Types::DATE_MUTABLE)]private ?\DateTimeInterface $startDate = null;#[ORM\Column(type: Types::DATE_MUTABLE)]private ?\DateTimeInterface $endDate = null;#[ORM\Column]private ?float $price = null;#[ORM\Column(length: 255)]private ?string $note = null;#[ORM\ManyToOne(inversedBy: 'commercialOfferIndividuals')]#[ORM\JoinColumn(nullable: false)]private ?Branch $branch = null;#[ORM\Column(length: 255, nullable: true)]private ?string $recipientFirstName = null;#[ORM\Column(length: 255, nullable: true)]private ?string $recipientLastName = null;#[ORM\Column(length: 255, nullable: true)]private ?string $recipientEmail = null;public function getId(): ?int{return $this->id;}public function getHtmlContent(): ?string{return $this->htmlContent;}public function setHtmlContent(string $htmlContent): static{$this->htmlContent = $htmlContent;return $this;}public function getDocumentPath(): ?string{return $this->documentPath;}public function setDocumentPath(string $documentPath): static{$this->documentPath = $documentPath;return $this;}public function getCustomerAddress(): ?CustomerAddress{return $this->customerAddress;}public function setCustomerAddress(?CustomerAddress $customerAddress): static{$this->customerAddress = $customerAddress;return $this;}public function getCreatedByConsultant(): ?Consultant{return $this->createdByConsultant;}public function setCreatedByConsultant(?Consultant $createdByConsultant): static{$this->createdByConsultant = $createdByConsultant;return $this;}public function getCreatedByAdmin(): ?Admin{return $this->createdByAdmin;}public function setCreatedByAdmin(?Admin $createdByAdmin): static{$this->createdByAdmin = $createdByAdmin;return $this;}public function getCommercialOffer(): ?CommercialOffer{return $this->commercialOffer;}public function setCommercialOffer(?CommercialOffer $commercialOffer): static{$this->commercialOffer = $commercialOffer;return $this;}public function getCommercialOfferSendings(): ?CommercialOfferSendings{return $this->commercialOfferSendings;}public function setCommercialOfferSendings(?CommercialOfferSendings $commercialOfferSendings): static{$this->commercialOfferSendings = $commercialOfferSendings;return $this;}public function getAddedDate(): ?\DateTimeInterface{return $this->addedDate;}public function setAddedDate(\DateTimeInterface $addedDate): static{$this->addedDate = $addedDate;return $this;}// public function isAccepted(): ?bool// {// return $this->isAccepted;// }//// public function setIsAccepted(bool $isAccepted): static// {// $this->isAccepted = $isAccepted;//// return $this;// }//// public function getAcceptedDate(): ?\DateTimeInterface// {// return $this->acceptedDate;// }//// public function setAcceptedDate(?\DateTimeInterface $acceptedDate): static// {// $this->acceptedDate = $acceptedDate;//// return $this;// }//// public function getAcceptedBy(): ?Admin// {// return $this->acceptedBy;// }//// public function setAcceptedBy(?Admin $acceptedBy): static// {// $this->acceptedBy = $acceptedBy;//// return $this;// }public function getStartDate(): ?\DateTimeInterface{return $this->startDate;}public function setStartDate(\DateTimeInterface $startDate): static{$this->startDate = $startDate;return $this;}public function getEndDate(): ?\DateTimeInterface{return $this->endDate;}public function setEndDate(\DateTimeInterface $endDate): static{$this->endDate = $endDate;return $this;}public function getPrice(): ?float{return $this->price;}public function setPrice(float $price): static{$this->price = $price;return $this;}public function getNote(): ?string{return $this->note;}public function setNote(string $note): static{$this->note = $note;return $this;}public function getBranch(): ?Branch{return $this->branch;}public function setBranch(?Branch $branch): static{$this->branch = $branch;return $this;}public function getRecipientFirstName(): ?string{return $this->recipientFirstName;}public function setRecipientFirstName(string $recipientFirstName): static{$this->recipientFirstName = $recipientFirstName;return $this;}public function getRecipientLastName(): ?string{return $this->recipientLastName;}public function setRecipientLastName(?string $recipientLastName): static{$this->recipientLastName = $recipientLastName;return $this;}public function getRecipientEmail(): ?string{return $this->recipientEmail;}public function setRecipientEmail(?string $recipientEmail): static{$this->recipientEmail = $recipientEmail;return $this;}}