src/Entity/ClassCategory.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ClassCategoryRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassClassCategoryRepository::class)]
  7. #[ORM\Table(name"dtb_class_category")]
  8. class ClassCategory
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column(nullabletrue)]
  15.     private ?int $class_name_id null;
  16.     #[ORM\Column(nullabletrue)]
  17.     private ?int $creator_id null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $backend_name null;
  20.     #[ORM\Column(length2555)]
  21.     private ?string $name null;
  22.     #[ORM\Column]
  23.     private ?int $sort_no null;
  24.     #[ORM\Column]
  25.     private ?int $visible null;
  26.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  27.     private ?\DateTimeInterface $create_date null;
  28.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  29.     private ?\DateTimeInterface $update_date null;
  30.     #[ORM\Column(length255)]
  31.     private ?string $discriminator_type null;
  32.     public function getId(): ?int
  33.     {
  34.         return $this->id;
  35.     }
  36.     public function getClassNameId(): ?int
  37.     {
  38.         return $this->class_name_id;
  39.     }
  40.     public function setClassNameId(?int $class_name_id): static
  41.     {
  42.         $this->class_name_id $class_name_id;
  43.         return $this;
  44.     }
  45.     public function getCreatorId(): ?int
  46.     {
  47.         return $this->creator_id;
  48.     }
  49.     public function setCreatorId(?int $creator_id): static
  50.     {
  51.         $this->creator_id $creator_id;
  52.         return $this;
  53.     }
  54.     public function getBackendName(): ?string
  55.     {
  56.         return $this->backend_name;
  57.     }
  58.     public function setBackendName(?string $backend_name): static
  59.     {
  60.         $this->backend_name $backend_name;
  61.         return $this;
  62.     }
  63.     public function getName(): ?string
  64.     {
  65.         return $this->name;
  66.     }
  67.     public function setName(string $name): static
  68.     {
  69.         $this->name $name;
  70.         return $this;
  71.     }
  72.     public function getSortNo(): ?int
  73.     {
  74.         return $this->sort_no;
  75.     }
  76.     public function setSortNo(int $sort_no): static
  77.     {
  78.         $this->sort_no $sort_no;
  79.         return $this;
  80.     }
  81.     public function getVisible(): ?int
  82.     {
  83.         return $this->visible;
  84.     }
  85.     public function setVisible(int $visible): static
  86.     {
  87.         $this->visible $visible;
  88.         return $this;
  89.     }
  90.     public function getCreateDate(): ?\DateTimeInterface
  91.     {
  92.         return $this->create_date;
  93.     }
  94.     public function setCreateDate(\DateTimeInterface $create_date): static
  95.     {
  96.         $this->create_date $create_date;
  97.         return $this;
  98.     }
  99.     public function getUpdateDate(): ?\DateTimeInterface
  100.     {
  101.         return $this->update_date;
  102.     }
  103.     public function setUpdateDate(\DateTimeInterface $update_date): static
  104.     {
  105.         $this->update_date $update_date;
  106.         return $this;
  107.     }
  108.     public function getDiscriminatorType(): ?string
  109.     {
  110.         return $this->discriminator_type;
  111.     }
  112.     public function setDiscriminatorType(string $discriminator_type): static
  113.     {
  114.         $this->discriminator_type $discriminator_type;
  115.         return $this;
  116.     }
  117. }