Add some reworks to Vision
This commit is contained in:
@@ -18,12 +18,6 @@ class Criminal extends Document
|
||||
*/
|
||||
private $directory;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="string", length=255)
|
||||
* @Gedmo\Versioned
|
||||
*/
|
||||
private $article;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="float", nullable=true)
|
||||
* @Gedmo\Versioned
|
||||
@@ -42,12 +36,6 @@ class Criminal extends Document
|
||||
*/
|
||||
private $content;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="text", nullable=true)
|
||||
* @Gedmo\Versioned
|
||||
*/
|
||||
private $accessorySentence;
|
||||
|
||||
public function __construct(User $user)
|
||||
{
|
||||
parent::__construct($user);
|
||||
@@ -66,18 +54,6 @@ class Criminal extends Document
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getArticle(): ?string
|
||||
{
|
||||
return $this->article;
|
||||
}
|
||||
|
||||
public function setArticle(string $article): self
|
||||
{
|
||||
$this->article = $article;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getAmountMoney(): ?float
|
||||
{
|
||||
return $this->amountMoney;
|
||||
@@ -113,16 +89,4 @@ class Criminal extends Document
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getAccessorySentence(): ?string
|
||||
{
|
||||
return $this->accessorySentence;
|
||||
}
|
||||
|
||||
public function setAccessorySentence(?string $accessorySentence): self
|
||||
{
|
||||
$this->accessorySentence = $accessorySentence;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user