<?php
namespace App\Entity;
use App\Repository\Actuv2VoteUsefulRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: Actuv2VoteUsefulRepository::class)]
class Actuv2VoteUseful
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'date', nullable: true)]
private $date;
#[ORM\Column(type: 'string', length: 50)]
private $ip;
#[ORM\Column(type: 'integer')]
private $actuId;
#[ORM\Column(type: 'string', length: 255)]
private $typeActu;
#[ORM\Column(type: 'string', length: 255)]
private $category;
public function getId(): ?int
{
return $this->id;
}
public function getDate(): ?\DateTimeInterface
{
return $this->date;
}
public function setDate(?\DateTimeInterface $date): self
{
$this->date = $date;
return $this;
}
public function getIp(): ?string
{
return $this->ip;
}
public function setIp(string $ip): self
{
$this->ip = $ip;
return $this;
}
public function getActuId(): ?int
{
return $this->actuId;
}
public function setActuId(int $actuId): self
{
$this->actuId = $actuId;
return $this;
}
public function getTypeActu(): ?string
{
return $this->typeActu;
}
public function setTypeActu(string $typeActu): self
{
$this->typeActu = $typeActu;
return $this;
}
public function getCategory(): ?string
{
return $this->category;
}
public function setCategory(string $category): self
{
$this->category = $category;
return $this;
}
}