<?php
namespace App\Entity;
use App\Repository\CommentRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CommentRepository::class)
*/
class Comment
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="integer")
*/
private $pid;
/**
* @ORM\Column(type="integer")
*/
private $nid;
/**
* @ORM\Column(type="integer")
*/
private $uid;
/**
* @ORM\Column(type="string", length=255)
*/
private $subject;
/**
* @ORM\Column(type="string", length=255)
*/
private $hostname;
/**
* @ORM\Column(type="datetime")
*/
private $created;
/**
* @ORM\Column(type="datetime")
*/
private $updated;
/**
* @ORM\Column(type="boolean")
*/
private $status;
/**
* @ORM\Column(type="string", length=255)
*/
private $thread;
/**
* @ORM\Column(type="string", length=255)
*/
private $name;
/**
* @ORM\Column(type="string", length=255)
*/
private $email;
/**
* @ORM\Column(type="string", length=255)
*/
private $homepage;
/**
* @ORM\Column(type="string", length=255)
*/
private $language;
public function getId(): ?int
{
return $this->id;
}
public function getPid(): ?int
{
return $this->pid;
}
public function setPid(int $pid): self
{
$this->pid = $pid;
return $this;
}
public function getNid(): ?int
{
return $this->nid;
}
public function setNid(int $nid): self
{
$this->nid = $nid;
return $this;
}
public function getUid(): ?int
{
return $this->uid;
}
public function setUid(int $uid): self
{
$this->uid = $uid;
return $this;
}
public function getSubject(): ?string
{
return $this->subject;
}
public function setSubject(string $subject): self
{
$this->subject = $subject;
return $this;
}
public function getHostname(): ?string
{
return $this->hostname;
}
public function setHostname(string $hostname): self
{
$this->hostname = $hostname;
return $this;
}
public function getCreated(): ?\DateTimeInterface
{
return $this->created;
}
public function setCreated(\DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getUpdated(): ?\DateTimeInterface
{
return $this->updated;
}
public function setUpdated(\DateTimeInterface $updated): self
{
$this->updated = $updated;
return $this;
}
public function getStatus(): ?bool
{
return $this->status;
}
public function setStatus(bool $status): self
{
$this->status = $status;
return $this;
}
public function getThread(): ?string
{
return $this->thread;
}
public function setThread(string $thread): self
{
$this->thread = $thread;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
public function getHomepage(): ?string
{
return $this->homepage;
}
public function setHomepage(string $homepage): self
{
$this->homepage = $homepage;
return $this;
}
public function getLanguage(): ?string
{
return $this->language;
}
public function setLanguage(string $language): self
{
$this->language = $language;
return $this;
}
}