src/Entity/Catalog.php line 14

Open in your IDE?
  1. <?php
  2. namespace Acme\SudcmsBundle\Entity;
  3. use Acme\SudcmsBundle\Repository\CatalogRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. use Doctrine\ORM\Mapping\Entity;
  7. use Doctrine\ORM\Mapping\Table;
  8. use Attribute;
  9. #[ORM\Entity(repositoryClassCatalogRepository::class)]
  10. //#[Attribute(Attribute::IS_REPEATABLE | Attribute::TARGET_CLASS)]
  11. class Catalog
  12. {
  13.     #[ORM\Id]
  14.     #[ORM\GeneratedValue]
  15.     #[ORM\Column(type'integer')]
  16.     private $id;
  17.     #[ORM\Column(type'date')]
  18.     private $cat_datecreation;
  19.     #[ORM\Column(type'text'nullabletrue)]
  20.     private $cat_description;
  21.     #[ORM\Column(type'boolean')]
  22.     private $cat_enligne;
  23.     #[ORM\Column(type'integer')]
  24.     private $site_uid;
  25.     #[ORM\Column(type'string'length2)]
  26.     private $site_lang;
  27.     #[ORM\Column(type'integer')]
  28.     private $cat_categ_id;
  29.     #[ORM\Column(type'string'length255nullabletrue)]
  30.     private $cat_illustration_fichier;
  31.     #[ORM\Column(type'integer')]
  32.     private $cat_id_editor;
  33.     #[ORM\Column(length20nullabletrue)]
  34.     private ?string $reference null;
  35.     #[ORM\Column(type'string'length400nullabletrue)]
  36.     private $cat_titre_url;
  37.     #[ORM\Column(type'string'length200nullabletrue)]
  38.     private $cat_titre;
  39.     public function getId(): ?int
  40.     {
  41.         return $this->id;
  42.     }
  43.     public function getcatDatecreation(): ?\DateTimeInterface
  44.     {
  45.         return $this->cat_datecreation;
  46.     }
  47.     public function setcatDatecreation(\DateTimeInterface $cat_datecreation): self
  48.     {
  49.         $this->cat_datecreation $cat_datecreation;
  50.         return $this;
  51.     }
  52.     public function getcatDescription(): ?string
  53.     {
  54.         return $this->cat_description;
  55.     }
  56.     public function setcatDescription(?string $cat_description): self
  57.     {
  58.         $this->cat_description $cat_description;
  59.         return $this;
  60.     }
  61.     public function getcatEnligne(): ?bool
  62.     {
  63.         return $this->cat_enligne;
  64.     }
  65.     public function setcatEnligne(bool $cat_enligne): self
  66.     {
  67.         $this->cat_enligne $cat_enligne;
  68.         return $this;
  69.     }
  70.     public function getSiteUid(): ?int
  71.     {
  72.         return $this->site_uid;
  73.     }
  74.     public function setSiteUid(int $site_uid): self
  75.     {
  76.         $this->site_uid $site_uid;
  77.         return $this;
  78.     }
  79.     public function getSiteLang(): ?string
  80.     {
  81.         return $this->site_lang;
  82.     }
  83.     public function setSiteLang(string $site_lang): self
  84.     {
  85.         $this->site_lang $site_lang;
  86.         return $this;
  87.     }
  88.     public function getcatCategId(): ?int
  89.     {
  90.         return $this->cat_categ_id;
  91.     }
  92.     public function setcatCategId(int $cat_categ_id): self
  93.     {
  94.         $this->cat_categ_id $cat_categ_id;
  95.         return $this;
  96.     }
  97.     public function getcatIllustrationFichier(): ?string
  98.     {
  99.         return $this->cat_illustration_fichier;
  100.     }
  101.     public function setcatIllustrationFichier(?string $cat_illustration_fichier): self
  102.     {
  103.         $this->cat_illustration_fichier $cat_illustration_fichier;
  104.         return $this;
  105.     }
  106.     public function getcatIdEditor(): ?int
  107.     {
  108.         return $this->cat_id_editor;
  109.     }
  110.     public function setcatIdEditor(int $cat_id_editor): self
  111.     {
  112.         $this->cat_id_editor $cat_id_editor;
  113.         return $this;
  114.     }
  115.     public function isCatEnligne(): ?bool
  116.     {
  117.         return $this->cat_enligne;
  118.     }
  119.     public function getReference(): ?string
  120.     {
  121.         return $this->reference;
  122.     }
  123.     public function setReference(?string $reference): self
  124.     {
  125.         $this->reference $reference;
  126.         return $this;
  127.     }
  128.     public function getCatTitreUrl(): ?string
  129.     {
  130.         return $this->cat_titre_url;
  131.     }
  132.     public function setCatTitreUrl(?string $cat_titre_url): self
  133.     {
  134.         $this->cat_titre_url $cat_titre_url;
  135.         return $this;
  136.     }
  137.     public function getCatTitre(): ?string
  138.     {
  139.         return $this->cat_titre;
  140.     }
  141.     public function setCatTitre(?string $cat_titre): self
  142.     {
  143.         $this->cat_titre $cat_titre;
  144.         return $this;
  145.     }
  146. }