processing of review. still ACL left to do

This commit is contained in:
2021-10-29 11:30:01 +02:00
parent e1d28289f6
commit 50fbc7fd15
6 changed files with 110 additions and 89 deletions

View File

@@ -35,6 +35,12 @@ class Relation
*/
private array $reverseTitle = [];
/**
* @ORM\Column(type="boolean", nullable=true)
* @Serializer\Groups({"read"})
*/
private bool $isActive = true;
public function getId(): ?int
{
return $this->id;
@@ -63,4 +69,16 @@ class Relation
return $this;
}
public function getIsActive(): bool
{
return $this->isActive;
}
public function setIsActive(?bool $isActive): self
{
$this->isActive = $isActive;
return $this;
}
}