src/Entity/CRM/Awards.php line 10

  1. <?php
  2. namespace App\Entity\CRM;
  3. use App\Repository\AwardsRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassAwardsRepository::class)]
  7. class Awards
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\ManyToOne(inversedBy'awards')]
  14.     #[ORM\JoinColumn(nullablefalse)]
  15.     private ?Consultant $consultant null;
  16.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  17.     private ?\DateTimeInterface $addedDate null;
  18.     #[ORM\Column]
  19.     private ?int $hour null;
  20.     #[ORM\Column]
  21.     private ?float $sumOfOther null;
  22.     #[ORM\Column]
  23.     private ?float $sumOfAgreement null;
  24.     #[ORM\Column]
  25.     private ?float $ptForOther null;
  26.     #[ORM\Column]
  27.     private ?float $ptForAgreement null;
  28.     #[ORM\Column(typeTypes::TEXT)]
  29.     private ?string $comment null;
  30.     #[ORM\Column]
  31.     private ?float $ptSum null;
  32.     #[ORM\Column]
  33.     private ?float $sumAll null;
  34.     #[ORM\Column]
  35.     private ?int $place null;
  36.     #[ORM\Column]
  37.     private int $type 0;
  38.     #[ORM\Column]
  39.     private int $SumOfSprawozdania 0;
  40.     #[ORM\Column]
  41.     private float $setPtForSprawozdania 0;
  42.     public function getId(): ?int
  43.     {
  44.         return $this->id;
  45.     }
  46.     public function getConsultant(): ?Consultant
  47.     {
  48.         return $this->consultant;
  49.     }
  50.     public function setConsultant(?Consultant $consultant): static
  51.     {
  52.         $this->consultant $consultant;
  53.         return $this;
  54.     }
  55.     public function getAddedDate(): ?\DateTimeInterface
  56.     {
  57.         return $this->addedDate;
  58.     }
  59.     public function setAddedDate(\DateTimeInterface $addedDate): static
  60.     {
  61.         $this->addedDate $addedDate;
  62.         return $this;
  63.     }
  64.     public function getHour(): ?int
  65.     {
  66.         return $this->hour;
  67.     }
  68.     public function setHour(int $hour): static
  69.     {
  70.         $this->hour $hour;
  71.         return $this;
  72.     }
  73.     public function getSumOfOther(): ?float
  74.     {
  75.         return $this->sumOfOther;
  76.     }
  77.     public function setSumOfOther(float $sumOfOther): static
  78.     {
  79.         $this->sumOfOther $sumOfOther;
  80.         return $this;
  81.     }
  82.     public function getSumOfAgreement(): ?float
  83.     {
  84.         return $this->sumOfAgreement;
  85.     }
  86.     public function setSumOfAgreement(float $sumOfAgreement): static
  87.     {
  88.         $this->sumOfAgreement $sumOfAgreement;
  89.         return $this;
  90.     }
  91.     public function getPtForOther(): ?float
  92.     {
  93.         return $this->ptForOther;
  94.     }
  95.     public function setPtForOther(float $ptForOther): static
  96.     {
  97.         $this->ptForOther $ptForOther;
  98.         return $this;
  99.     }
  100.     public function getPtForAgreement(): ?float
  101.     {
  102.         return $this->ptForAgreement;
  103.     }
  104.     public function setPtForAgreement(float $ptForAgreement): static
  105.     {
  106.         $this->ptForAgreement $ptForAgreement;
  107.         return $this;
  108.     }
  109.     public function getComment(): ?string
  110.     {
  111.         return $this->comment;
  112.     }
  113.     public function setComment(string $comment): static
  114.     {
  115.         $this->comment $comment;
  116.         return $this;
  117.     }
  118.     public function getPtSum(): ?float
  119.     {
  120.         return $this->ptSum;
  121.     }
  122.     public function setPtSum(float $ptSum): static
  123.     {
  124.         $this->ptSum $ptSum;
  125.         return $this;
  126.     }
  127.     public function getSumAll(): ?float
  128.     {
  129.         return $this->sumAll;
  130.     }
  131.     public function setSumAll(float $sumAll): static
  132.     {
  133.         $this->sumAll $sumAll;
  134.         return $this;
  135.     }
  136.     public function getPlace(): ?int
  137.     {
  138.         return $this->place;
  139.     }
  140.     public function setPlace(int $place): static
  141.     {
  142.         $this->place $place;
  143.         return $this;
  144.     }
  145.     public function getType(): ?int
  146.     {
  147.         return $this->type;
  148.     }
  149.     public function setType(int $type): static
  150.     {
  151.         $this->type $type;
  152.         return $this;
  153.     }
  154.     public function getSumOfSprawozdania(): ?int
  155.     {
  156.         return $this->SumOfSprawozdania;
  157.     }
  158.     public function setSumOfSprawozdania(int $SumOfSprawozdania): static
  159.     {
  160.         $this->SumOfSprawozdania $SumOfSprawozdania;
  161.         return $this;
  162.     }
  163.     public function getSetPtForSprawozdania(): ?float
  164.     {
  165.         return $this->setPtForSprawozdania;
  166.     }
  167.     public function setSetPtForSprawozdania(float $setPtForSprawozdania): static
  168.     {
  169.         $this->setPtForSprawozdania $setPtForSprawozdania;
  170.         return $this;
  171.     }
  172. }