src/Flexy/ShopBundle/Entity/Order/RoomStatus.php line 10
<?php
namespace App\Flexy\ShopBundle\Entity\Order;
use App\Repository\Flexy\ShopBundle\Entity\Order\RoomStatusRepository;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\DBAL\Types\Types;
#[ORM\Entity(repositoryClass: RoomStatusRepository::class)]
class RoomStatus
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $cmd = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $card = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $status = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $time = null;
public function getId(): ?int
{
return $this->id;
}
public function getCmd(): ?string
{
return $this->cmd;
}
public function setCmd(?string $cmd): static
{
$this->cmd = $cmd;
return $this;
}
public function getCard(): ?string
{
return $this->card;
}
public function setCard(?string $card): static
{
$this->card = $card;
return $this;
}
public function getStatus(): ?string
{
return $this->status;
}
public function setStatus(?string $status): static
{
$this->status = $status;
return $this;
}
public function getTime(): ?\DateTimeInterface
{
return $this->time;
}
public function setTime(?\DateTimeInterface $time): static
{
$this->time = $time;
return $this;
}
}