up: MemberCase

* Add rate integer property
This commit is contained in:
Ryan Prather 2025-02-10 14:54:45 -05:00
parent 428304e5af
commit 53d9350cb8

View File

@ -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;
}
} }