rename caseId to memberCase

This commit is contained in:
Ryan Prather 2024-12-31 23:03:45 +00:00
parent 1d16cadc7b
commit 642492411e

View File

@ -23,7 +23,7 @@ class Member
#[ORM\ManyToOne(inversedBy: 'members')]
#[ORM\JoinColumn(nullable: false)]
private ?MemberCase $caseId = null;
private ?MemberCase $memberCase = null;
#[ORM\Column(length: 45)]
private ?string $lastName = null;
@ -110,12 +110,12 @@ class Member
public function getCaseId(): ?MemberCase
{
return $this->caseId;
return $this->memberCase;
}
public function setCaseId(?MemberCase $caseId): static
{
$this->caseId = $caseId;
$this->memberCase = $caseId;
return $this;
}