<?php
namespace App\Entity;
use App\Repository\PacksitesRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: PacksitesRepository::class)]
#[ORM\Table(name: 'packsites')]
class Packsites
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 10)]
private ?string $codepack = null;
#[ORM\Column(length: 255)]
private ?string $nompack = null;
#[ORM\Column(length: 10)]
private ?string $prixpack = null;
#[ORM\Column(type: 'text')]
private ?string $descriptionpack = null;
#[ORM\Column(length: 20)]
private ?string $statutpack = null;
#[ORM\Column]
private ?int $usersid = null;
#[ORM\Column(type: 'datetime')]
private ?\DateTimeInterface $createdat = null;
#[ORM\Column(type: 'datetime')]
private ?\DateTimeInterface $updatedat = null;
// Getters / Setters
public function getId(): ?int
{
return $this->id;
}
public function getCodepack(): ?string
{
return $this->codepack;
}
public function setCodepack(string $codepack): self
{
$this->codepack = $codepack;
return $this;
}
public function getNompack(): ?string
{
return $this->nompack;
}
public function setNompack(string $nompack): self
{
$this->nompack = $nompack;
return $this;
}
public function getPrixpack(): ?string
{
return $this->prixpack;
}
public function setPrixpack(string $prixpack): self
{
$this->prixpack = $prixpack;
return $this;
}
public function getDescriptionpack(): ?string
{
return $this->descriptionpack;
}
public function setDescriptionpack(string $descriptionpack): self
{
$this->descriptionpack = $descriptionpack;
return $this;
}
public function getStatutpack(): ?string
{
return $this->statutpack;
}
public function setStatutpack(string $statutpack): self
{
$this->statutpack = $statutpack;
return $this;
}
public function getUsersid(): ?int
{
return $this->usersid;
}
public function setUsersid(int $usersid): self
{
$this->usersid = $usersid;
return $this;
}
public function getCreatedAt(): ?\DateTimeInterface
{
return $this->createdat;
}
public function setCreatedAt(\DateTimeInterface $createdat): self
{
$this->createdat = $createdat;
return $this;
}
public function getUpdatedAt(): ?\DateTimeInterface
{
return $this->updatedat;
}
public function setUpdatedAt(\DateTimeInterface $updatedat): self
{
$this->updatedat = $updatedat;
return $this;
}
}