src/Entity/Deposit.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DepositRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClass: DepositRepository::class)]
  7. class Deposit
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id = null;
  13.     #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
  14.     private ?\DateTimeInterface $CreatedAt = null;
  15.     #[ORM\ManyToOne]
  16.     private ?User $CreatedBy = null;
  17.     #[ORM\ManyToOne(inversedBy: 'deposits')]
  18.     private ?TheCase $TheCase = null;
  19.     #[ORM\Column(length: 50, nullable: true)]
  20.     private ?string $LawBarRef = null;
  21.     #[ORM\Column(nullable: true)]
  22.     private ?float $Amount = null;
  23.     #[ORM\Column(length: 255, nullable: true)]
  24.     private ?string $benefit = null;
  25.     #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
  26.     private ?\DateTimeInterface $DeliveredAt = null;
  27.     #[ORM\Column(length: 255, nullable: true)]
  28.     private ?string $DelivredHow = null;
  29.     #[ORM\Column(nullable: true)]
  30.     private ?float $LegalFeesAmount = null;
  31.     #[ORM\Column(type: Types::TEXT, nullable: true)]
  32.     private ?string $Comments = null;
  33.     #[ORM\Column(length: 255, nullable: true)]
  34.     private ?string $Provider = null;
  35.     #[ORM\ManyToOne]
  36.     private ?LawOffice $LawOffice = null;
  37.     #[ORM\Column(nullable: true)]
  38.     private ?bool $IsOtherBenifit = null;
  39.     public function getId(): ?int
  40.     {
  41.         return $this->id;
  42.     }
  43.     public function getCreatedAt(): ?\DateTimeInterface
  44.     {
  45.         return $this->CreatedAt;
  46.     }
  47.     public function setCreatedAt(?\DateTimeInterface $CreatedAt): self
  48.     {
  49.         $this->CreatedAt = $CreatedAt;
  50.         return $this;
  51.     }
  52.     public function getCreatedBy(): ?User
  53.     {
  54.         return $this->CreatedBy;
  55.     }
  56.     public function setCreatedBy(?User $CreatedBy): self
  57.     {
  58.         $this->CreatedBy = $CreatedBy;
  59.         return $this;
  60.     }
  61.     public function getTheCase(): ?TheCase
  62.     {
  63.         return $this->TheCase;
  64.     }
  65.     public function setTheCase(?TheCase $TheCase): self
  66.     {
  67.         $this->TheCase = $TheCase;
  68.         return $this;
  69.     }
  70.     public function getLawBarRef(): ?string
  71.     {
  72.         return $this->LawBarRef;
  73.     }
  74.     public function setLawBarRef(?string $LawBarRef): self
  75.     {
  76.         $this->LawBarRef = $LawBarRef;
  77.         return $this;
  78.     }
  79.     public function getAmount(): ?float
  80.     {
  81.         return $this->Amount;
  82.     }
  83.     public function setAmount(?float $Amount): self
  84.     {
  85.         $this->Amount = $Amount;
  86.         return $this;
  87.     }
  88.     public function getBenefit(): ?string
  89.     {
  90.         return $this->benefit;
  91.     }
  92.     public function setBenefit(?string $benefit): self
  93.     {
  94.         $this->benefit = $benefit;
  95.         return $this;
  96.     }
  97.     public function getDeliveredAt(): ?\DateTimeInterface
  98.     {
  99.         return $this->DeliveredAt;
  100.     }
  101.     public function setDeliveredAt(?\DateTimeInterface $DeliveredAt): self
  102.     {
  103.         $this->DeliveredAt = $DeliveredAt;
  104.         return $this;
  105.     }
  106.     public function getDelivredHow(): ?string
  107.     {
  108.         return $this->DelivredHow;
  109.     }
  110.     public function setDelivredHow(?string $DelivredHow): self
  111.     {
  112.         $this->DelivredHow = $DelivredHow;
  113.         return $this;
  114.     }
  115.     public function getLegalFeesAmount(): ?float
  116.     {
  117.         return $this->LegalFeesAmount;
  118.     }
  119.     public function setLegalFeesAmount(?float $LegalFeesAmount): self
  120.     {
  121.         $this->LegalFeesAmount = $LegalFeesAmount;
  122.         return $this;
  123.     }
  124.     public function getComments(): ?string
  125.     {
  126.         return $this->Comments;
  127.     }
  128.     public function setComments(?string $Comments): self
  129.     {
  130.         $this->Comments = $Comments;
  131.         return $this;
  132.     }
  133.     public function getProvider(): ?string
  134.     {
  135.         return $this->Provider;
  136.     }
  137.     public function setProvider(?string $Provider): self
  138.     {
  139.         $this->Provider = $Provider;
  140.         return $this;
  141.     }
  142.     public function getLawOffice(): ?LawOffice
  143.     {
  144.         return $this->LawOffice;
  145.     }
  146.     public function setLawOffice(?LawOffice $LawOffice): self
  147.     {
  148.         $this->LawOffice = $LawOffice;
  149.         return $this;
  150.     }
  151.     public function isIsOtherBenifit(): ?bool
  152.     {
  153.         return $this->IsOtherBenifit;
  154.     }
  155.     public function setIsOtherBenifit(?bool $IsOtherBenifit): self
  156.     {
  157.         $this->IsOtherBenifit = $IsOtherBenifit;
  158.         return $this;
  159.     }
  160. }