src/Entity/TheCaseActions.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TheCaseActionsRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClass: TheCaseActionsRepository::class)]
  7. class TheCaseActions
  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\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
  18.     private ?\DateTimeInterface $ActionAt = null;
  19.     #[ORM\Column(type: Types::TEXT, nullable: true)]
  20.     private ?string $ActionName = null;
  21.     #[ORM\ManyToOne(inversedBy: 'Actions')]
  22.     private ?TheCase $theCase = null;
  23.     #[ORM\Column(nullable: true)]
  24.     private ?bool $IsDeleted = false;
  25.     #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
  26.     private ?\DateTimeInterface $DeletedAt = null;
  27.     #[ORM\ManyToOne]
  28.     private ?User $DeletedBy = null;
  29.     #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
  30.     private ?\DateTimeInterface $ActionNextAt = null;
  31.     #[ORM\Column(length: 30, nullable: true)]
  32.     private ?string $JudgmentNumber = null;
  33.     #[ORM\Column(nullable: true)]
  34.     private ?bool $IsJudgement = null;
  35.     #[ORM\ManyToOne(inversedBy: 'theCaseActions')]
  36.     private ?Purpose $Purpose = null;
  37.     public function getId(): ?int
  38.     {
  39.         return $this->id;
  40.     }
  41.     public function getCreatedAt(): ?\DateTimeInterface
  42.     {
  43.         return $this->CreatedAt;
  44.     }
  45.     public function setCreatedAt(?\DateTimeInterface $CreatedAt): self
  46.     {
  47.         $this->CreatedAt = $CreatedAt;
  48.         return $this;
  49.     }
  50.     public function getCreatedBy(): ?User
  51.     {
  52.         return $this->CreatedBy;
  53.     }
  54.     public function setCreatedBy(?User $CreatedBy): self
  55.     {
  56.         $this->CreatedBy = $CreatedBy;
  57.         return $this;
  58.     }
  59.     public function getActionAt(): ?\DateTimeInterface
  60.     {
  61.         return $this->ActionAt;
  62.     }
  63.     public function setActionAt(?\DateTimeInterface $ActionAt): self
  64.     {
  65.         $this->ActionAt = $ActionAt;
  66.         return $this;
  67.     }
  68.     public function getActionName(): ?string
  69.     {
  70.         return $this->ActionName;
  71.     }
  72.     public function setActionName(?string $ActionName): self
  73.     {
  74.         $this->ActionName = $ActionName;
  75.         return $this;
  76.     }
  77.     public function getTheCase(): ?TheCase
  78.     {
  79.         return $this->theCase;
  80.     }
  81.     public function setTheCase(?TheCase $theCase): self
  82.     {
  83.         $this->theCase = $theCase;
  84.         return $this;
  85.     }
  86.     public function isIsDeleted(): ?bool
  87.     {
  88.         return $this->IsDeleted;
  89.     }
  90.     public function setIsDeleted(bool $IsDeleted): self
  91.     {
  92.         $this->IsDeleted = $IsDeleted;
  93.         return $this;
  94.     }
  95.     public function getDeletedAt(): ?\DateTimeInterface
  96.     {
  97.         return $this->DeletedAt;
  98.     }
  99.     public function setDeletedAt(?\DateTimeInterface $DeletedAt): self
  100.     {
  101.         $this->DeletedAt = $DeletedAt;
  102.         return $this;
  103.     }
  104.     public function getDeletedBy(): ?User
  105.     {
  106.         return $this->DeletedBy;
  107.     }
  108.     public function setDeletedBy(?User $DeletedBy): self
  109.     {
  110.         $this->DeletedBy = $DeletedBy;
  111.         return $this;
  112.     }
  113.     public function getActionNextAt(): ?\DateTimeInterface
  114.     {
  115.         return $this->ActionNextAt;
  116.     }
  117.     public function setActionNextAt(?\DateTimeInterface $ActionNextAt): self
  118.     {
  119.         $this->ActionNextAt = $ActionNextAt;
  120.         return $this;
  121.     }
  122.     public function getJudgmentNumber(): ?string
  123.     {
  124.         return $this->JudgmentNumber;
  125.     }
  126.     public function setJudgmentNumber(?string $JudgmentNumber): self
  127.     {
  128.         $this->JudgmentNumber = $JudgmentNumber;
  129.         return $this;
  130.     }
  131.     public function isIsJudgement(): ?bool
  132.     {
  133.         return $this->IsJudgement;
  134.     }
  135.     public function setIsJudgement(bool $IsJudgement): self
  136.     {
  137.         $this->IsJudgement = $IsJudgement;
  138.         return $this;
  139.     }
  140.     public function getPurpose(): ?Purpose
  141.     {
  142.         return $this->Purpose;
  143.     }
  144.     public function setPurpose(?Purpose $Purpose): self
  145.     {
  146.         $this->Purpose = $Purpose;
  147.         return $this;
  148.     }
  149. }