src/Entity/CRM/BhpOrderProductSettlements.php line 10

  1. <?php
  2. namespace App\Entity\CRM;
  3. use App\Repository\BhpOrderProductSettlementsRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassBhpOrderProductSettlementsRepository::class)]
  7. class BhpOrderProductSettlements
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  14.     private ?\DateTimeInterface $firstStageDate null;
  15.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  16.     private ?\DateTimeInterface $secondStageDate null;
  17.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  18.     private ?\DateTimeInterface $endDate null;
  19.     #[ORM\ManyToOne(inversedBy'bhpOrderProductSettlements')]
  20.     private ?BhpInspector $bhpInspector null;
  21.     #[ORM\ManyToOne(inversedBy'bhpOrderProductSettlements')]
  22.     private ?BhpOrderProduct $bhpOrderProduct null;
  23.     #[ORM\Column(nullabletrue)]
  24.     private ?float $firstStageAmount null;
  25.     #[ORM\Column(nullabletrue)]
  26.     private ?float $secondStageAmount null;
  27.     #[ORM\Column(nullabletrue)]
  28.     private ?float $endedAmount null;
  29.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  30.     private ?\DateTimeInterface $firstStageSettledDate null;
  31.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  32.     private ?\DateTimeInterface $secondStageSettledDate null;
  33.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  34.     private ?\DateTimeInterface $endedSettledDate null;
  35.     #[ORM\Column(nullabletrue)]
  36.     private ?bool $firstStageSettled null;
  37.     #[ORM\Column(nullabletrue)]
  38.     private ?bool $secondStageSettled null;
  39.     #[ORM\Column(nullabletrue)]
  40.     private ?bool $endedSettled null;
  41.     #[ORM\Column(length255nullabletrue)]
  42.     private ?string $firstStageInvoice null;
  43.     #[ORM\Column(length255nullabletrue)]
  44.     private ?string $secondStageInvoice null;
  45.     #[ORM\Column(length255nullabletrue)]
  46.     private ?string $endedInvoice null;
  47.     public function getId(): ?int
  48.     {
  49.         return $this->id;
  50.     }
  51.     public function getFirstStageDate(): ?\DateTimeInterface
  52.     {
  53.         return $this->firstStageDate;
  54.     }
  55.     public function setFirstStageDate(?\DateTimeInterface $firstStageDate): static
  56.     {
  57.         $this->firstStageDate $firstStageDate;
  58.         return $this;
  59.     }
  60.     public function getSecondStageDate(): ?\DateTimeInterface
  61.     {
  62.         return $this->secondStageDate;
  63.     }
  64.     public function setSecondStageDate(?\DateTimeInterface $secondStageDate): static
  65.     {
  66.         $this->secondStageDate $secondStageDate;
  67.         return $this;
  68.     }
  69.     public function getEndDate(): ?\DateTimeInterface
  70.     {
  71.         return $this->endDate;
  72.     }
  73.     public function setEndDate(?\DateTimeInterface $end_date): static
  74.     {
  75.         $this->endDate $end_date;
  76.         return $this;
  77.     }
  78.     public function getBhpInspector(): ?BhpInspector
  79.     {
  80.         return $this->bhpInspector;
  81.     }
  82.     public function setBhpInspector(?BhpInspector $bhpInspector): static
  83.     {
  84.         $this->bhpInspector $bhpInspector;
  85.         return $this;
  86.     }
  87.     public function getBhpOrderProduct(): ?BhpOrderProduct
  88.     {
  89.         return $this->bhpOrderProduct;
  90.     }
  91.     public function setBhpOrderProduct(?BhpOrderProduct $bhpOrderProduct): static
  92.     {
  93.         $this->bhpOrderProduct $bhpOrderProduct;
  94.         return $this;
  95.     }
  96.     public function getFirstStageAmount(): ?float
  97.     {
  98.         return $this->firstStageAmount;
  99.     }
  100.     public function setFirstStageAmount(?float $firstStageAmount): static
  101.     {
  102.         $this->firstStageAmount $firstStageAmount;
  103.         return $this;
  104.     }
  105.     public function getSecondStageAmount(): ?float
  106.     {
  107.         return $this->secondStageAmount;
  108.     }
  109.     public function setSecondStageAmount(?float $secondStageAmount): static
  110.     {
  111.         $this->secondStageAmount $secondStageAmount;
  112.         return $this;
  113.     }
  114.     public function getEndedAmount(): ?float
  115.     {
  116.         return $this->endedAmount;
  117.     }
  118.     public function setEndedAmount(?float $endedAmount): static
  119.     {
  120.         $this->endedAmount $endedAmount;
  121.         return $this;
  122.     }
  123.     public function getFirstStageSettledDate(): ?\DateTimeInterface
  124.     {
  125.         return $this->firstStageSettledDate;
  126.     }
  127.     public function setFirstStageSettledDate(?\DateTimeInterface $firstStageSettledDate): static
  128.     {
  129.         $this->firstStageSettledDate $firstStageSettledDate;
  130.         return $this;
  131.     }
  132.     public function getSecondStageSettledDate(): ?\DateTimeInterface
  133.     {
  134.         return $this->secondStageSettledDate;
  135.     }
  136.     public function setSecondStageSettledDate(?\DateTimeInterface $secondStageSettledDate): static
  137.     {
  138.         $this->secondStageSettledDate $secondStageSettledDate;
  139.         return $this;
  140.     }
  141.     public function getEndedSettledDate(): ?\DateTimeInterface
  142.     {
  143.         return $this->endedSettledDate;
  144.     }
  145.     public function setEndedSettledDate(?\DateTimeInterface $endedSettledDate): static
  146.     {
  147.         $this->endedSettledDate $endedSettledDate;
  148.         return $this;
  149.     }
  150.     public function isFirstStageSettled(): ?bool
  151.     {
  152.         return $this->firstStageSettled;
  153.     }
  154.     public function setFirstStageSettled(?bool $firstStageSettled): static
  155.     {
  156.         $this->firstStageSettled $firstStageSettled;
  157.         return $this;
  158.     }
  159.     public function isSecondStageSettled(): ?bool
  160.     {
  161.         return $this->secondStageSettled;
  162.     }
  163.     public function setSecondStageSettled(?bool $secondStageSettled): static
  164.     {
  165.         $this->secondStageSettled $secondStageSettled;
  166.         return $this;
  167.     }
  168.     public function isEndedSettled(): ?bool
  169.     {
  170.         return $this->endedSettled;
  171.     }
  172.     public function setEndedSettled(?bool $endedSettled): static
  173.     {
  174.         $this->endedSettled $endedSettled;
  175.         return $this;
  176.     }
  177.     public function getFirstStageInvoice(): ?string
  178.     {
  179.         return $this->firstStageInvoice;
  180.     }
  181.     public function setFirstStageInvoice(?string $firstStageInvoice): static
  182.     {
  183.         $this->firstStageInvoice $firstStageInvoice;
  184.         return $this;
  185.     }
  186.     public function getSecondStageInvoice(): ?string
  187.     {
  188.         return $this->secondStageInvoice;
  189.     }
  190.     public function setSecondStageInvoice(?string $secondStageInvoice): static
  191.     {
  192.         $this->secondStageInvoice $secondStageInvoice;
  193.         return $this;
  194.     }
  195.     public function getEndedInvoice(): ?string
  196.     {
  197.         return $this->endedInvoice;
  198.     }
  199.     public function setEndedInvoice(?string $endedInvoice): static
  200.     {
  201.         $this->endedInvoice $endedInvoice;
  202.         return $this;
  203.     }
  204. }