src/Entity/EcoCategories.php line 9

Open in your IDE?
  1. <?php
  2. namespace Acme\SudcmsBundle\Entity;
  3. use Acme\SudcmsBundle\Repository\EcoCategoriesRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassEcoCategoriesRepository::class)]
  6. class EcoCategories {
  7.     #[ORM\Id]
  8.     #[ORM\GeneratedValue]
  9.     #[ORM\Column(type'integer')]
  10.     private $id;
  11.     #[ORM\Column(type'integer')]
  12.     private $categ_parent_id;
  13.     #[ORM\Column(type'string'length255)]
  14.     private $categ_entitled;
  15.     #[ORM\Column(type'text'nullabletrue)]
  16.     private $categ_description;
  17.     #[ORM\Column(type'boolean'nullabletrue)]
  18.     private $categ_isonline;
  19.     #[ORM\Column(type'integer'nullabletrue)]
  20.     private $categ_sequence;
  21.     #[ORM\Column(type'string'length255nullabletrue)]
  22.     private $categ_headband;
  23.     #[ORM\Column(type'integer'nullabletrue)]
  24.     private $siteId;
  25.     public function getId(): ?int {
  26.         return $this->id;
  27.     }
  28.     public function getCategParentId(): ?int {
  29.         return $this->categ_parent_id;
  30.     }
  31.     public function setCategParentId(int $categ_parent_id): self {
  32.         $this->categ_parent_id $categ_parent_id;
  33.         return $this;
  34.     }
  35.     public function getCategEntitled(): ?string {
  36.         return $this->categ_entitled;
  37.     }
  38.     public function setCategEntitled(string $categ_entitled): self {
  39.         $this->categ_entitled $categ_entitled;
  40.         return $this;
  41.     }
  42.     public function getCategDescription(): ?string {
  43.         return $this->categ_description;
  44.     }
  45.     public function setCategDescription(?string $categ_description): self {
  46.         $this->categ_description $categ_description;
  47.         return $this;
  48.     }
  49.     public function getCategSequence(): ?int {
  50.         return $this->categ_sequence;
  51.     }
  52.     public function setCategSequence(?int $categ_sequence): self {
  53.         $this->categ_sequence $categ_sequence;
  54.         return $this;
  55.     }
  56.     public function getCategIsonline(): ?bool {
  57.         return $this->categ_isonline;
  58.     }
  59.     public function setCategIsonline(?bool $categ_isonline): self {
  60.         $this->categ_isonline $categ_isonline;
  61.         return $this;
  62.     }
  63.     public function getCategHeadband(): ?string {
  64.         return $this->categ_headband;
  65.     }
  66.     public function setCategHeadband(?string $categ_headband): self {
  67.         $this->categ_headband $categ_headband;
  68.         return $this;
  69.     }
  70.     public function getSiteId(): ?int
  71.     {
  72.         return $this->siteId;
  73.     }
  74.     public function setSiteId(?int $siteId): self
  75.     {
  76.         $this->siteId $siteId;
  77.         return $this;
  78.     }
  79. }