src/Entity/Actuv2VoteUseful.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\Actuv2VoteUsefulRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassActuv2VoteUsefulRepository::class)]
  6. class Actuv2VoteUseful
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'date'nullabletrue)]
  13.     private $date;
  14.     #[ORM\Column(type'string'length50)]
  15.     private $ip;
  16.     #[ORM\Column(type'integer')]
  17.     private $actuId;
  18.     #[ORM\Column(type'string'length255)]
  19.     private $typeActu;
  20.     #[ORM\Column(type'string'length255)]
  21.     private $category;
  22.     public function getId(): ?int
  23.     {
  24.         return $this->id;
  25.     }
  26.     public function getDate(): ?\DateTimeInterface
  27.     {
  28.         return $this->date;
  29.     }
  30.     public function setDate(?\DateTimeInterface $date): self
  31.     {
  32.         $this->date $date;
  33.         return $this;
  34.     }
  35.     public function getIp(): ?string
  36.     {
  37.         return $this->ip;
  38.     }
  39.     public function setIp(string $ip): self
  40.     {
  41.         $this->ip $ip;
  42.         return $this;
  43.     }
  44.     public function getActuId(): ?int
  45.     {
  46.         return $this->actuId;
  47.     }
  48.     public function setActuId(int $actuId): self
  49.     {
  50.         $this->actuId $actuId;
  51.         return $this;
  52.     }
  53.     public function getTypeActu(): ?string
  54.     {
  55.         return $this->typeActu;
  56.     }
  57.     public function setTypeActu(string $typeActu): self
  58.     {
  59.         $this->typeActu $typeActu;
  60.         return $this;
  61.     }
  62.     public function getCategory(): ?string
  63.     {
  64.         return $this->category;
  65.     }
  66.     public function setCategory(string $category): self
  67.     {
  68.         $this->category $category;
  69.         return $this;
  70.     }
  71. }