src/Entity/Packsites.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PacksitesRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassPacksitesRepository::class)]
  6. #[ORM\Table(name'packsites')]
  7. class Packsites
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length10)]
  14.     private ?string $codepack null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $nompack null;
  17.     #[ORM\Column(length10)]
  18.     private ?string $prixpack null;
  19.     #[ORM\Column(type'text')]
  20.     private ?string $descriptionpack null;
  21.     #[ORM\Column(length20)]
  22.     private ?string $statutpack null;
  23.     #[ORM\Column]
  24.     private ?int $usersid null;
  25.     #[ORM\Column(type'datetime')]
  26.     private ?\DateTimeInterface $createdat null;
  27.     #[ORM\Column(type'datetime')]
  28.     private ?\DateTimeInterface $updatedat null;
  29.     // Getters / Setters
  30.     public function getId(): ?int
  31.     {
  32.         return $this->id;
  33.     }
  34.     public function getCodepack(): ?string
  35.     {
  36.         return $this->codepack;
  37.     }
  38.     public function setCodepack(string $codepack): self
  39.     {
  40.         $this->codepack $codepack;
  41.         return $this;
  42.     }
  43.     public function getNompack(): ?string
  44.     {
  45.         return $this->nompack;
  46.     }
  47.     public function setNompack(string $nompack): self
  48.     {
  49.         $this->nompack $nompack;
  50.         return $this;
  51.     }
  52.     public function getPrixpack(): ?string
  53.     {
  54.         return $this->prixpack;
  55.     }
  56.     public function setPrixpack(string $prixpack): self
  57.     {
  58.         $this->prixpack $prixpack;
  59.         return $this;
  60.     }
  61.     public function getDescriptionpack(): ?string
  62.     {
  63.         return $this->descriptionpack;
  64.     }
  65.     public function setDescriptionpack(string $descriptionpack): self
  66.     {
  67.         $this->descriptionpack $descriptionpack;
  68.         return $this;
  69.     }
  70.     public function getStatutpack(): ?string
  71.     {
  72.         return $this->statutpack;
  73.     }
  74.     public function setStatutpack(string $statutpack): self
  75.     {
  76.         $this->statutpack $statutpack;
  77.         return $this;
  78.     }
  79.     public function getUsersid(): ?int
  80.     {
  81.         return $this->usersid;
  82.     }
  83.     public function setUsersid(int $usersid): self
  84.     {
  85.         $this->usersid $usersid;
  86.         return $this;
  87.     }
  88.     public function getCreatedAt(): ?\DateTimeInterface
  89.     {
  90.         return $this->createdat;
  91.     }
  92.     public function setCreatedAt(\DateTimeInterface $createdat): self
  93.     {
  94.         $this->createdat $createdat;
  95.         return $this;
  96.     }
  97.     public function getUpdatedAt(): ?\DateTimeInterface
  98.     {
  99.         return $this->updatedat;
  100.     }
  101.     public function setUpdatedAt(\DateTimeInterface $updatedat): self
  102.     {
  103.         $this->updatedat $updatedat;
  104.         return $this;
  105.     }
  106. }