src/Entity/CRM/ProductHistory.php line 11
<?phpnamespace App\Entity\CRM;use App\Repository\ProductHistoryRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ProductHistoryRepository::class)]#[ORM\HasLifecycleCallbacks]class ProductHistory{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(targetEntity: Product::class)]#[ORM\JoinColumn(nullable: false)]private ?Product $product = null;#[ORM\Column(length: 255, nullable: true)]private ?string $name = null;#[ORM\Column(nullable: true)]private ?float $priceSubtotal = null;#[ORM\Column(nullable: true)]private ?bool $implementation = null;#[ORM\Column(nullable: true)]private ?bool $parent = null;#[ORM\Column(nullable: true)]private ?bool $eumowa = null;#[ORM\Column(nullable: true)]private ?bool $umowa = null;#[ORM\Column(nullable: true)]private ?bool $eumowabiuro = null;#[ORM\Column(nullable: true)]private ?bool $eumowarodobhp = null;#[ORM\Column(nullable: true)]private ?bool $eumowaiod = null;#[ORM\Column(nullable: true)]private ?bool $eumowabdo = null;#[ORM\Column(nullable: true)]private ?bool $eumowabhpstacjonarna = null;#[ORM\Column(nullable: true)]private ?bool $audytbezpieczenstwa = null;#[ORM\Column(nullable: true)]private ?bool $sprawozdanie = null;#[ORM\Column(nullable: true)]private ?bool $doSprawozdania = null;#[ORM\Column(nullable: true)]private ?int $platformProductId = null;#[ORM\Column(nullable: true)]private ?int $tax = null;#[ORM\Column(nullable: true)]private ?bool $isActive = null;#[ORM\Column(length: 1500, nullable: true)]private ?string $paragraphOfContract = null;#[ORM\Column(nullable: true)]private ?bool $forBhp = null;#[ORM\Column(nullable: true)]private ?bool $forBR = null;#[ORM\Column(nullable: true)]private ?bool $haveMailAttachments = null;#[ORM\Column(nullable: true)]private ?bool $autoMail = null;#[ORM\Column(nullable: true)]private ?bool $additionalCourses = null;#[ORM\Column(nullable: true)]private ?bool $eumowaamlrodo = null;#[ORM\Column(nullable: true)]private ?bool $eumowaaml = null;#[ORM\Column(nullable: true)]private ?bool $transport = null;#[ORM\Column(nullable: true)]private ?bool $automaticallyDoBeforePayment = null;#[ORM\Column(nullable: true)]private ?bool $endWithoutAudit = null;#[ORM\Column(nullable: true)]private ?bool $auditRemote = null;#[ORM\Column(type: Types::DATETIME_MUTABLE)]private ?\DateTimeInterface $createdAt = null;#[ORM\ManyToOne]#[ORM\JoinColumn(nullable: true)]private ?Admin $changedBy = null;#[ORM\Column(length: 50)]private ?string $action = null;#[ORM\Column(type: Types::JSON, nullable: true)]private ?array $categoryIds = null;#[ORM\Column(nullable: true)]private ?int $contractTemplateId = null;#[ORM\Column(type: Types::JSON, nullable: true)]private ?array $parentProductIds = null;#[ORM\Column(type: Types::JSON, nullable: true)]private ?array $adminToInfoIds = null;#[ORM\Column(nullable: true)]private ?int $agreementId = null;public function getId(): ?int{return $this->id;}public function getProduct(): ?Product{return $this->product;}public function setProduct(?Product $product): self{$this->product = $product;return $this;}public function getName(): ?string{return $this->name;}public function setName(?string $name): self{$this->name = $name;return $this;}public function getPriceSubtotal(): ?float{return $this->priceSubtotal;}public function setPriceSubtotal(?float $priceSubtotal): self{$this->priceSubtotal = $priceSubtotal;return $this;}public function isImplementation(): ?bool{return $this->implementation;}public function setImplementation(?bool $implementation): self{$this->implementation = $implementation;return $this;}public function isParent(): ?bool{return $this->parent;}public function setParent(?bool $parent): self{$this->parent = $parent;return $this;}public function isEumowa(): ?bool{return $this->eumowa;}public function setEumowa(?bool $eumowa): self{$this->eumowa = $eumowa;return $this;}public function isUmowa(): ?bool{return $this->umowa;}public function setUmowa(?bool $umowa): self{$this->umowa = $umowa;return $this;}public function isEumowabiuro(): ?bool{return $this->eumowabiuro;}public function setEumowabiuro(?bool $eumowabiuro): self{$this->eumowabiuro = $eumowabiuro;return $this;}public function isEumowarodobhp(): ?bool{return $this->eumowarodobhp;}public function setEumowarodobhp(?bool $eumowarodobhp): self{$this->eumowarodobhp = $eumowarodobhp;return $this;}public function isEumowaiod(): ?bool{return $this->eumowaiod;}public function setEumowaiod(?bool $eumowaiod): self{$this->eumowaiod = $eumowaiod;return $this;}public function isEumowabdo(): ?bool{return $this->eumowabdo;}public function setEumowabdo(?bool $eumowabdo): self{$this->eumowabdo = $eumowabdo;return $this;}public function isEumowabhpstacjonarna(): ?bool{return $this->eumowabhpstacjonarna;}public function setEumowabhpstacjonarna(?bool $eumowabhpstacjonarna): self{$this->eumowabhpstacjonarna = $eumowabhpstacjonarna;return $this;}public function isAudytbezpieczenstwa(): ?bool{return $this->audytbezpieczenstwa;}public function setAudytbezpieczenstwa(?bool $audytbezpieczenstwa): self{$this->audytbezpieczenstwa = $audytbezpieczenstwa;return $this;}public function isSprawozdanie(): ?bool{return $this->sprawozdanie;}public function setSprawozdanie(?bool $sprawozdanie): self{$this->sprawozdanie = $sprawozdanie;return $this;}public function isDoSprawozdania(): ?bool{return $this->doSprawozdania;}public function setDoSprawozdania(?bool $doSprawozdania): self{$this->doSprawozdania = $doSprawozdania;return $this;}public function getPlatformProductId(): ?int{return $this->platformProductId;}public function setPlatformProductId(?int $platformProductId): self{$this->platformProductId = $platformProductId;return $this;}public function getTax(): ?int{return $this->tax;}public function setTax(?int $tax): self{$this->tax = $tax;return $this;}public function isIsActive(): ?bool{return $this->isActive;}public function setIsActive(?bool $isActive): self{$this->isActive = $isActive;return $this;}public function getParagraphOfContract(): ?string{return $this->paragraphOfContract;}public function setParagraphOfContract(?string $paragraphOfContract): self{$this->paragraphOfContract = $paragraphOfContract;return $this;}public function isForBhp(): ?bool{return $this->forBhp;}public function setForBhp(?bool $forBhp): self{$this->forBhp = $forBhp;return $this;}public function isForBR(): ?bool{return $this->forBR;}public function setForBR(?bool $forBR): self{$this->forBR = $forBR;return $this;}public function isHaveMailAttachments(): ?bool{return $this->haveMailAttachments;}public function setHaveMailAttachments(?bool $haveMailAttachments): self{$this->haveMailAttachments = $haveMailAttachments;return $this;}public function isAutoMail(): ?bool{return $this->autoMail;}public function setAutoMail(?bool $autoMail): self{$this->autoMail = $autoMail;return $this;}public function isAdditionalCourses(): ?bool{return $this->additionalCourses;}public function setAdditionalCourses(?bool $additionalCourses): self{$this->additionalCourses = $additionalCourses;return $this;}public function isEumowaamlrodo(): ?bool{return $this->eumowaamlrodo;}public function setEumowaamlrodo(?bool $eumowaamlrodo): self{$this->eumowaamlrodo = $eumowaamlrodo;return $this;}public function isEumowaaml(): ?bool{return $this->eumowaaml;}public function setEumowaaml(?bool $eumowaaml): self{$this->eumowaaml = $eumowaaml;return $this;}public function isTransport(): ?bool{return $this->transport;}public function setTransport(?bool $transport): self{$this->transport = $transport;return $this;}public function isAutomaticallyDoBeforePayment(): ?bool{return $this->automaticallyDoBeforePayment;}public function setAutomaticallyDoBeforePayment(?bool $automaticallyDoBeforePayment): self{$this->automaticallyDoBeforePayment = $automaticallyDoBeforePayment;return $this;}public function isEndWithoutAudit(): ?bool{return $this->endWithoutAudit;}public function setEndWithoutAudit(?bool $endWithoutAudit): self{$this->endWithoutAudit = $endWithoutAudit;return $this;}public function isAuditRemote(): ?bool{return $this->auditRemote;}public function setAuditRemote(?bool $auditRemote): self{$this->auditRemote = $auditRemote;return $this;}public function getCreatedAt(): ?\DateTimeInterface{return $this->createdAt;}public function setCreatedAt(\DateTimeInterface $createdAt): self{$this->createdAt = $createdAt;return $this;}#[ORM\PrePersist]public function setCreatedAtValue(): void{$this->createdAt = new \DateTime();}public function getChangedBy(): ?Admin{return $this->changedBy;}public function setChangedBy(?Admin $changedBy): self{$this->changedBy = $changedBy;return $this;}public function getAction(): ?string{return $this->action;}public function setAction(string $action): self{$this->action = $action;return $this;}public function getCategoryIds(): ?array{return $this->categoryIds;}public function setCategoryIds(?array $categoryIds): self{$this->categoryIds = $categoryIds;return $this;}public function getContractTemplateId(): ?int{return $this->contractTemplateId;}public function setContractTemplateId(?int $contractTemplateId): self{$this->contractTemplateId = $contractTemplateId;return $this;}public function getParentProductIds(): ?array{return $this->parentProductIds;}public function setParentProductIds(?array $parentProductIds): self{$this->parentProductIds = $parentProductIds;return $this;}public function getAdminToInfoIds(): ?array{return $this->adminToInfoIds;}public function setAdminToInfoIds(?array $adminToInfoIds): self{$this->adminToInfoIds = $adminToInfoIds;return $this;}public function getAgreementId(): ?int{return $this->agreementId;}public function setAgreementId(?int $agreementId): self{$this->agreementId = $agreementId;return $this;}}