refs #723. Updated command entity with new fields
parent
030d35f47e
commit
8d67ccd78a
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace App\Dto\Input;
|
||||
|
||||
class CommandInput
|
||||
{
|
||||
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace App\Dto\Output;
|
||||
|
||||
class CommandOutput
|
||||
{
|
||||
|
||||
}
|
|
@ -17,6 +17,9 @@ class Command extends AbstractEntity
|
|||
#[ORM\Column(length: 255, nullable: true)]
|
||||
private ?string $comments = null;
|
||||
|
||||
#[ORM\Column]
|
||||
private ?bool $readOnly = null;
|
||||
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
|
@ -45,4 +48,16 @@ class Command extends AbstractEntity
|
|||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isReadOnly(): ?bool
|
||||
{
|
||||
return $this->readOnly;
|
||||
}
|
||||
|
||||
public function setReadOnly(bool $readOnly): static
|
||||
{
|
||||
$this->readOnly = $readOnly;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace App\State\Processor;
|
||||
|
||||
class CommandProcessor
|
||||
{
|
||||
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace App\State\Provider;
|
||||
|
||||
class CommandProvider
|
||||
{
|
||||
|
||||
}
|
Loading…
Reference in New Issue