src/Entity/CaseType.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CaseTypeRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClass: CaseTypeRepository::class)]
  6. class CaseType
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id = null;
  12.     #[ORM\Column(length: 255, nullable: true)]
  13.     private ?string $CaseTypeName = null;
  14.     #[ORM\Column(nullable: true)]
  15.     private ?int $CaseTypeCode = null;
  16.     public function getId(): ?int
  17.     {
  18.         return $this->id;
  19.     }
  20.     public function getCaseTypeName(): ?string
  21.     {
  22.         return $this->CaseTypeName;
  23.     }
  24.     public function setCaseTypeName(?string $CaseTypeName): self
  25.     {
  26.         $this->CaseTypeName = $CaseTypeName;
  27.         return $this;
  28.     }
  29.     public function getCaseTypeCode(): ?int
  30.     {
  31.         return $this->CaseTypeCode;
  32.     }
  33.     public function setCaseTypeCode(?int $CaseTypeCode): self
  34.     {
  35.         $this->CaseTypeCode = $CaseTypeCode;
  36.         return $this;
  37.     }
  38. }