<?php
namespace AppEntity;
use AppRepositoryGameRepository;
use DoctrineDBALTypesTypes;
use DoctrineORMMapping as ORM;
#[ORMEntity(repositoryClass: GameRepository::class)]
class Game
{
#[ORMId]
#[ORMGeneratedValue]
#[ORMColumn]
private ?int $id = null;
#[ORMColumn(type: Types::DATETIME_MUTABLE)]
private ?DateTimeInterface $datetime_start = null;
#[ORMColumn(type: Types::DATETIME_MUTABLE)]
private ?DateTimeInterface $datetime_stop = null;
#[ORMColumn(length: 255, nullable: true)]
private ?string $status = null;
#[ORMManyToOne(inversedBy: 'games')]
private ?User $updatedby_id = null;
#[ORMOneToOne(cascade: ['persist', 'remove'])]
private ?GameType $game_type = null;
public function getId(): ?int
{
return $this->id;
}
public function getDatetimeStart(): ?DateTimeInterface
{
return $this->datetime_start;
}
public function setDatetimeStart(DateTimeInterface $datetime_start): static
{
$this->datetime_start = $datetime_start;
return $this;
}
public function getDatetimeStop(): ?DateTimeInterface
{
return $this->datetime_stop;
}
public function setDatetimeStop(DateTimeInterface $datetime_stop): static
{
$this->datetime_stop = $datetime_stop;
return $this;
}
public function getStatus(): ?string
{
return $this->status;
}
public function setStatus(?string $status): static
{
$this->status = $status;
return $this;
}
public function getUpdatedbyId(): ?User
{
return $this->updatedby_id;
}
public function setUpdatedbyId(?User $updatedby_id): static
{
$this->updatedby_id = $updatedby_id;
return $this;
}
public function getGameType(): ?GameType
{
return $this->game_type;
}
public function setGameType(?GameType $game_type): static
{
$this->game_type = $game_type;
return $this;
}
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}