src/Entity/TheCase.php line 12
<?phpnamespace App\Entity;use App\Repository\TheCaseRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: TheCaseRepository::class)]class TheCase{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $CreatedAt = null;#[ORM\ManyToOne(inversedBy: 'theCases')]private ?User $CreatedBy = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $UpdateAt = null;#[ORM\Column(length: 20, nullable: true)]private ?string $RefLawOffice = null;#[ORM\Column(length: 20, nullable: true)]private ?string $FullFileTpiNum = null;#[ORM\Column(length: 20, nullable: true)]private ?string $FullFileCANum = null;#[ORM\ManyToOne]private ?CaseType $CaseType = null;#[ORM\ManyToOne(inversedBy: 'theCases')]private ?Client $Client = null;#[ORM\Column(length: 255, nullable: true)]private ?string $OpponentName = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $OpenedAt = null;#[ORM\OneToMany(mappedBy: 'theCase', targetEntity: TheCaseActions::class)]private Collection $Actions;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $NotificationAt = null;#[ORM\Column(length: 100, nullable: true)]private ?string $NotificationRef = null;#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $NotificationMemo = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $ExecutionAt = null;#[ORM\Column(length: 100, nullable: true)]private ?string $ExecutionRef = null;#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $ExecutionMemo = null;#[ORM\Column(nullable: true)]private ?int $FileStatus = null;#[ORM\OneToMany(mappedBy: 'TheCase', targetEntity: CaseLogActions::class)]private Collection $caseLogActions;#[ORM\ManyToOne]private ?LawOffice $LawOffice = null;#[ORM\Column(nullable: true)]private ?int $CaseSeq = null;#[ORM\Column(nullable: true)]private ?bool $IsDeleted = false;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $DeleteAt = null;#[ORM\ManyToOne]private ?User $DeletedBy = null;#[ORM\ManyToOne]private ?User $LockedBy = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $LockedAt = null;#[ORM\Column(nullable: true)]private ?bool $IsNotification = null;#[ORM\Column(nullable: true)]private ?bool $IsExecution = null;#[ORM\Column(length: 40, nullable: true)]private ?string $RefJudge = null;#[ORM\Column(nullable: true)]private ?bool $IsJudged = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $JudgedAt = null;#[ORM\ManyToOne]private ?Juridiction $Juridiction = null;#[ORM\Column(length: 255, nullable: true)]private ?string $LawyerAdv = null;#[ORM\OneToMany(mappedBy: 'TheCase', targetEntity: IncomeExpense::class)]private Collection $incomeExpenses;#[ORM\OneToMany(mappedBy: 'TheCase', targetEntity: Deposit::class)]private Collection $deposits;#[ORM\Column(length: 60, nullable: true)]private ?string $JudgeFullName = null;#[ORM\Column(length: 100, nullable: true)]private ?string $Subject = null;#[ORM\Column(nullable: true)]private ?int $Parent = null;public function __construct(){$this->Actions = new ArrayCollection();$this->caseLogActions = new ArrayCollection();$this->incomeExpenses = new ArrayCollection();$this->deposits = new ArrayCollection();}public function getId(): ?int{return $this->id;}public function getCreatedAt(): ?\DateTimeInterface{return $this->CreatedAt;}public function setCreatedAt(?\DateTimeInterface $CreatedAt): self{$this->CreatedAt = $CreatedAt;return $this;}public function getCreatedBy(): ?User{return $this->CreatedBy;}public function setCreatedBy(?User $CreatedBy): self{$this->CreatedBy = $CreatedBy;return $this;}public function getUpdateAt(): ?\DateTimeInterface{return $this->UpdateAt;}public function setUpdateAt(?\DateTimeInterface $UpdateAt): self{$this->UpdateAt = $UpdateAt;return $this;}public function getFullFileTpiNum(): ?string{return $this->FullFileTpiNum;}public function setFullFileTpiNum(?string $FullFileTpiNum): self{$this->FullFileTpiNum = $FullFileTpiNum;return $this;}public function getRefLawOffice(): ?string{return $this->RefLawOffice;}public function setRefLawOffice(?string $RefLawOffice): self{$this->RefLawOffice = $RefLawOffice;return $this;}public function getFullFileCANum(): ?string{return $this->FullFileCANum;}public function setFullFileCANum(?string $FullFileCANum): self{$this->FullFileCANum = $FullFileCANum;return $this;}public function getCaseType(): ?CaseType{return $this->CaseType;}public function setCaseType(?CaseType $CaseType): self{$this->CaseType = $CaseType;return $this;}public function getClient(): ?Client{return $this->Client;}public function setClient(?Client $Client): self{$this->Client = $Client;return $this;}public function getOpponentName(): ?string{return $this->OpponentName;}public function setOpponentName(?string $OpponentName): self{$this->OpponentName = $OpponentName;return $this;}public function getOpenedAt(): ?\DateTimeInterface{return $this->OpenedAt;}public function setOpenedAt(?\DateTimeInterface $OpenedAt): self{$this->OpenedAt = $OpenedAt;return $this;}/*** @return Collection<int, TheCaseActions>*/public function getActions(): Collection{return $this->Actions;}public function addAction(TheCaseActions $action): self{if (!$this->Actions->contains($action)) {$this->Actions->add($action);$action->setTheCase($this);}return $this;}public function removeAction(TheCaseActions $action): self{if ($this->Actions->removeElement($action)) {// set the owning side to null (unless already changed)if ($action->getTheCase() === $this) {$action->setTheCase(null);}}return $this;}public function getNotificationAt(): ?\DateTimeInterface{return $this->NotificationAt;}public function setNotificationAt(?\DateTimeInterface $NotificationAt): self{$this->NotificationAt = $NotificationAt;return $this;}public function getNotificationRef(): ?string{return $this->NotificationRef;}public function setNotificationRef(?string $NotificationRef): self{$this->NotificationRef = $NotificationRef;return $this;}public function getNotificationMemo(): ?string{return $this->NotificationMemo;}public function setNotificationMemo(?string $NotificationMemo): self{$this->NotificationMemo = $NotificationMemo;return $this;}public function getExecutionAt(): ?\DateTimeInterface{return $this->ExecutionAt;}public function setExecutionAt(?\DateTimeInterface $ExecutionAt): self{$this->ExecutionAt = $ExecutionAt;return $this;}public function getExecutionRef(): ?string{return $this->ExecutionRef;}public function setExecutionRef(?string $ExecutionRef): self{$this->ExecutionRef = $ExecutionRef;return $this;}public function getExecutionMemo(): ?string{return $this->ExecutionMemo;}public function setExecutionMemo(?string $ExecutionMemo): self{$this->ExecutionMemo = $ExecutionMemo;return $this;}public function getFileStatus(): ?int{return $this->FileStatus;}public function setFileStatus(?int $FileStatus): self{$this->FileStatus = $FileStatus;return $this;}/*** @return Collection<int, CaseLogActions>*/public function getCaseLogActions(): Collection{return $this->caseLogActions;}public function addCaseLogAction(CaseLogActions $caseLogAction): self{if (!$this->caseLogActions->contains($caseLogAction)) {$this->caseLogActions->add($caseLogAction);$caseLogAction->setTheCase($this);}return $this;}public function removeCaseLogAction(CaseLogActions $caseLogAction): self{if ($this->caseLogActions->removeElement($caseLogAction)) {// set the owning side to null (unless already changed)if ($caseLogAction->getTheCase() === $this) {$caseLogAction->setTheCase(null);}}return $this;}public function getLawOffice(): ?LawOffice{return $this->LawOffice;}public function setLawOffice(?LawOffice $LawOffice): self{$this->LawOffice = $LawOffice;return $this;}public function getCaseSeq(): ?int{return $this->CaseSeq;}public function setCaseSeq(?int $CaseSeq): self{$this->CaseSeq = $CaseSeq;return $this;}public function isIsDeleted(): ?bool{return $this->IsDeleted;}public function setIsDeleted(?bool $IsDeleted): self{$this->IsDeleted = $IsDeleted;return $this;}public function getDeleteAt(): ?\DateTimeInterface{return $this->DeleteAt;}public function setDeleteAt(?\DateTimeInterface $DeleteAt): self{$this->DeleteAt = $DeleteAt;return $this;}public function getDeletedBy(): ?User{return $this->DeletedBy;}public function setDeletedBy(?User $DeletedBy): self{$this->DeletedBy = $DeletedBy;return $this;}public function getLockedBy(): ?User{return $this->LockedBy;}public function setLockedBy(?User $LockedBy): self{$this->LockedBy = $LockedBy;return $this;}public function getLockedAt(): ?\DateTimeInterface{return $this->LockedAt;}public function setLockedAt(?\DateTimeInterface $LockedAt): self{$this->LockedAt = $LockedAt;return $this;}public function isIsNotification(): ?bool{return $this->IsNotification;}public function setIsNotification(?bool $IsNotification): self{$this->IsNotification = $IsNotification;return $this;}public function isIsExecution(): ?bool{return $this->IsExecution;}public function setIsExecution(?bool $IsExecution): self{$this->IsExecution = $IsExecution;return $this;}public function getRefJudge(): ?string{return $this->RefJudge;}public function setRefJudge(?string $RefJudge): self{$this->RefJudge = $RefJudge;return $this;}public function isIsJudged(): ?bool{return $this->IsJudged;}public function setIsJudged(?bool $IsJudged): self{$this->IsJudged = $IsJudged;return $this;}public function getJudgedAt(): ?\DateTimeInterface{return $this->JudgedAt;}public function setJudgedAt(?\DateTimeInterface $JudgedAt): self{$this->JudgedAt = $JudgedAt;return $this;}public function getJuridiction(): ?Juridiction{return $this->Juridiction;}public function setJuridiction(?Juridiction $Juridiction): self{$this->Juridiction = $Juridiction;return $this;}public function getLawyerAdv(): ?string{return $this->LawyerAdv;}public function setLawyerAdv(?string $LawyerAdv): self{$this->LawyerAdv = $LawyerAdv;return $this;}/*** @return Collection<int, IncomeExpense>*/public function getIncomeExpenses(): Collection{return $this->incomeExpenses;}public function addIncomeExpense(IncomeExpense $incomeExpense): self{if (!$this->incomeExpenses->contains($incomeExpense)) {$this->incomeExpenses->add($incomeExpense);$incomeExpense->setTheCase($this);}return $this;}public function removeIncomeExpense(IncomeExpense $incomeExpense): self{if ($this->incomeExpenses->removeElement($incomeExpense)) {// set the owning side to null (unless already changed)if ($incomeExpense->getTheCase() === $this) {$incomeExpense->setTheCase(null);}}return $this;}/*** @return Collection<int, Deposit>*/public function getDeposits(): Collection{return $this->deposits;}public function addDeposit(Deposit $deposit): self{if (!$this->deposits->contains($deposit)) {$this->deposits->add($deposit);$deposit->setTheCase($this);}return $this;}public function removeDeposit(Deposit $deposit): self{if ($this->deposits->removeElement($deposit)) {// set the owning side to null (unless already changed)if ($deposit->getTheCase() === $this) {$deposit->setTheCase(null);}}return $this;}public function getJudgeFullName(): ?string{return $this->JudgeFullName;}public function setJudgeFullName(?string $JudgeFullName): self{$this->JudgeFullName = $JudgeFullName;return $this;}public function getSubject(): ?string{return $this->Subject;}public function setSubject(?string $Subject): self{$this->Subject = $Subject;return $this;}public function getParent(): ?int{return $this->Parent;}public function setParent(?int $Parent): static{$this->Parent = $Parent;return $this;}}