Adding a column for community work penalties on Criminal Documents
This commit is contained in:
@@ -31,6 +31,12 @@ class Criminal extends Document
|
||||
*/
|
||||
private $amountTime;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="integer", nullable=true)
|
||||
* @Gedmo\Versioned
|
||||
*/
|
||||
private $amountCommunityWork;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="text", length=4294967295, nullable=true)
|
||||
* @Gedmo\Versioned
|
||||
@@ -83,6 +89,18 @@ class Criminal extends Document
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getAmountCommunityWork(): ?int
|
||||
{
|
||||
return $this->amountCommunityWork;
|
||||
}
|
||||
|
||||
public function setAmountCommunityWork(?int $amountCommunityWork): self
|
||||
{
|
||||
$this->amountCommunityWork = $amountCommunityWork;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getContent(): ?string
|
||||
{
|
||||
return $this->content;
|
||||
|
||||
Reference in New Issue
Block a user