src/Entity/UsersComment.php line 12
<?php
namespace App\Entity;
use App\Repository\UsersCommentRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: UsersCommentRepository::class)]
#[ORM\Table(name: 'site_users_comment')]
class UsersComment
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column]
private ?int $requestid = null;
#[ORM\Column]
private ?int $directionid = null;
#[ORM\Column(length: 255)]
private ?string $name = null;
#[ORM\Column]
private ?int $userid = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $text = null;
#[ORM\Column]
private ?int $status = null;
#[ORM\Column]
private ?int $mark = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $date = null;
public function getId(): ?int
{
return $this->id;
}
public function getRequestid(): ?int
{
return $this->requestid;
}
public function setRequestid(int $requestid): self
{
$this->requestid = $requestid;
return $this;
}
public function getDirectionid(): ?int
{
return $this->directionid;
}
public function setDirectionid(int $directionid): self
{
$this->directionid = $directionid;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getUserid(): ?int
{
return $this->userid;
}
public function setUserid(int $userid): self
{
$this->userid = $userid;
return $this;
}
public function getText(): ?string
{
return $this->text;
}
public function setText(string $text): self
{
$this->text = $text;
return $this;
}
public function getStatus(): ?int
{
return $this->status;
}
public function setStatus(int $status): self
{
$this->status = $status;
return $this;
}
public function getMark(): ?int
{
return $this->mark;
}
public function setMark(int $mark): self
{
$this->mark = $mark;
return $this;
}
public function getDate(): ?\DateTimeInterface
{
return $this->date;
}
public function setDate(\DateTimeInterface $date): self
{
$this->date = $date;
return $this;
}
}