src/Entity/CaseLogActions.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CaseLogActionsRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClass: CaseLogActionsRepository::class)]
  7. class CaseLogActions
  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(length: 255, nullable: true)]
  18.     private ?string $ActionLabel = null;
  19.     #[ORM\Column(nullable: true)]
  20.     private ?int $ActionStatus = null;
  21.     #[ORM\ManyToOne(inversedBy: 'caseLogActions')]
  22.     private ?TheCase $TheCase = null;
  23.     #[ORM\Column(type: Types::TEXT, nullable: true)]
  24.     private ?string $ActionMemo = null;
  25.     #[ORM\Column(length: 20, nullable: true)]
  26.     private ?string $ActionType = null;
  27.     public function getId(): ?int
  28.     {
  29.         return $this->id;
  30.     }
  31.     public function getCreatedAt(): ?\DateTimeInterface
  32.     {
  33.         return $this->CreatedAt;
  34.     }
  35.     public function setCreatedAt(?\DateTimeInterface $CreatedAt): self
  36.     {
  37.         $this->CreatedAt = $CreatedAt;
  38.         return $this;
  39.     }
  40.     public function getCreatedBy(): ?User
  41.     {
  42.         return $this->CreatedBy;
  43.     }
  44.     public function setCreatedBy(?User $CreatedBy): self
  45.     {
  46.         $this->CreatedBy = $CreatedBy;
  47.         return $this;
  48.     }
  49.     public function getActionLabel(): ?string
  50.     {
  51.         return $this->ActionLabel;
  52.     }
  53.     public function setActionLabel(?string $ActionLabel): self
  54.     {
  55.         $this->ActionLabel = $ActionLabel;
  56.         return $this;
  57.     }
  58.     public function getActionStatus(): ?int
  59.     {
  60.         return $this->ActionStatus;
  61.     }
  62.     public function setActionStatus(?int $ActionStatus): self
  63.     {
  64.         $this->ActionStatus = $ActionStatus;
  65.         return $this;
  66.     }
  67.     public function getTheCase(): ?TheCase
  68.     {
  69.         return $this->TheCase;
  70.     }
  71.     public function setTheCase(?TheCase $TheCase): self
  72.     {
  73.         $this->TheCase = $TheCase;
  74.         return $this;
  75.     }
  76.     public function getActionMemo(): ?string
  77.     {
  78.         return $this->ActionMemo;
  79.     }
  80.     public function setActionMemo(?string $ActionMemo): self
  81.     {
  82.         $this->ActionMemo = $ActionMemo;
  83.         return $this;
  84.     }
  85.     public function getActionType(): ?string
  86.     {
  87.         return $this->ActionType;
  88.     }
  89.     public function setActionType(?string $ActionType): self
  90.     {
  91.         $this->ActionType = $ActionType;
  92.         return $this;
  93.     }
  94. }