src/Flexy/ShopBundle/Entity/Order/RoomStatus.php line 10

  1. <?php
  2. namespace App\Flexy\ShopBundle\Entity\Order;
  3. use App\Repository\Flexy\ShopBundle\Entity\Order\RoomStatusRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Doctrine\DBAL\Types\Types;
  6. #[ORM\Entity(repositoryClassRoomStatusRepository::class)]
  7. class RoomStatus
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255nullabletrue)]
  14.     private ?string $cmd null;
  15.     #[ORM\Column(length255nullabletrue)]
  16.     private ?string $card null;
  17.     #[ORM\Column(length255nullabletrue)]
  18.     private ?string $status null;
  19.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  20.     private ?\DateTimeInterface $time null;
  21.     public function getId(): ?int
  22.     {
  23.         return $this->id;
  24.     }
  25.     public function getCmd(): ?string
  26.     {
  27.         return $this->cmd;
  28.     }
  29.     public function setCmd(?string $cmd): static
  30.     {
  31.         $this->cmd $cmd;
  32.         return $this;
  33.     }
  34.     public function getCard(): ?string
  35.     {
  36.         return $this->card;
  37.     }
  38.     public function setCard(?string $card): static
  39.     {
  40.         $this->card $card;
  41.         return $this;
  42.     }
  43.     public function getStatus(): ?string
  44.     {
  45.         return $this->status;
  46.     }
  47.     public function setStatus(?string $status): static
  48.     {
  49.         $this->status $status;
  50.         return $this;
  51.     }
  52.     public function getTime(): ?\DateTimeInterface
  53.     {
  54.         return $this->time;
  55.     }
  56.     public function setTime(?\DateTimeInterface $time): static
  57.     {
  58.         $this->time $time;
  59.         return $this;
  60.     }
  61. }