up: MemberCase
* Add rate integer property
This commit is contained in:
parent
428304e5af
commit
53d9350cb8
@ -113,6 +113,9 @@ class MemberCase
|
|||||||
#[ORM\OneToMany(targetEntity: StaffNote::class, mappedBy: 'memberCase')]
|
#[ORM\OneToMany(targetEntity: StaffNote::class, mappedBy: 'memberCase')]
|
||||||
private Collection $staffNotes;
|
private Collection $staffNotes;
|
||||||
|
|
||||||
|
#[ORM\Column]
|
||||||
|
private ?int $rate = null;
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->userCases = new ArrayCollection();
|
$this->userCases = new ArrayCollection();
|
||||||
@ -515,4 +518,16 @@ class MemberCase
|
|||||||
$this->staffNotes->clear();
|
$this->staffNotes->clear();
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getRate(): ?int
|
||||||
|
{
|
||||||
|
return $this->rate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function setRate(int $rate): static
|
||||||
|
{
|
||||||
|
$this->rate = $rate;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user