add sensitive filter settings #17

This commit is contained in:
ghost 2023-10-09 16:53:08 +03:00
parent 6effb4cad2
commit b1679f3f65
7 changed files with 88 additions and 8 deletions

View file

@ -38,6 +38,9 @@ class User
#[ORM\Column(length: 255)]
private ?string $theme = null;
#[ORM\Column]
private ?bool $sensitive = null;
public function getId(): ?int
{
return $this->id;
@ -145,4 +148,16 @@ class User
return $this;
}
public function isSensitive(): ?bool
{
return $this->sensitive;
}
public function setSensitive(bool $sensitive): static
{
$this->sensitive = $sensitive;
return $this;
}
}