src/Entity/UsersComment.php line 12

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\UsersCommentRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassUsersCommentRepository::class)]
  7. #[ORM\Table(name'site_users_comment')]
  8. class UsersComment
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column]
  15.     private ?int $requestid null;
  16.     #[ORM\Column]
  17.     private ?int $directionid null;
  18.     #[ORM\Column(length255)]
  19.     private ?string $name null;
  20.     #[ORM\Column]
  21.     private ?int $userid null;
  22.     #[ORM\Column(typeTypes::TEXT)]
  23.     private ?string $text null;
  24.     #[ORM\Column]
  25.     private ?int $status null;
  26.     #[ORM\Column]
  27.     private ?int $mark null;
  28.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  29.     private ?\DateTimeInterface $date null;
  30.     public function getId(): ?int
  31.     {
  32.         return $this->id;
  33.     }
  34.     public function getRequestid(): ?int
  35.     {
  36.         return $this->requestid;
  37.     }
  38.     public function setRequestid(int $requestid): self
  39.     {
  40.         $this->requestid $requestid;
  41.         return $this;
  42.     }
  43.     public function getDirectionid(): ?int
  44.     {
  45.         return $this->directionid;
  46.     }
  47.     public function setDirectionid(int $directionid): self
  48.     {
  49.         $this->directionid $directionid;
  50.         return $this;
  51.     }
  52.     public function getName(): ?string
  53.     {
  54.         return $this->name;
  55.     }
  56.     public function setName(string $name): self
  57.     {
  58.         $this->name $name;
  59.         return $this;
  60.     }
  61.     public function getUserid(): ?int
  62.     {
  63.         return $this->userid;
  64.     }
  65.     public function setUserid(int $userid): self
  66.     {
  67.         $this->userid $userid;
  68.         return $this;
  69.     }
  70.     public function getText(): ?string
  71.     {
  72.         return $this->text;
  73.     }
  74.     public function setText(string $text): self
  75.     {
  76.         $this->text $text;
  77.         return $this;
  78.     }
  79.     public function getStatus(): ?int
  80.     {
  81.         return $this->status;
  82.     }
  83.     public function setStatus(int $status): self
  84.     {
  85.         $this->status $status;
  86.         return $this;
  87.     }
  88.     public function getMark(): ?int
  89.     {
  90.         return $this->mark;
  91.     }
  92.     public function setMark(int $mark): self
  93.     {
  94.         $this->mark $mark;
  95.         return $this;
  96.     }
  97.     public function getDate(): ?\DateTimeInterface
  98.     {
  99.         return $this->date;
  100.     }
  101.     public function setDate(\DateTimeInterface $date): self
  102.     {
  103.         $this->date $date;
  104.         return $this;
  105.     }
  106. }