add nav property to Lawyer

This commit is contained in:
jojo aquino 2025-03-22 13:17:15 +00:00
parent 43857b43e1
commit aacee2363b

View File

@ -40,5 +40,11 @@ namespace EnotaryoPH.Data.Entities
[ForeignKey("PrincipalID")] [ForeignKey("PrincipalID")]
public User Principal { get; set; } public User Principal { get; set; }
[ForeignKey("LawyerID")]
public Lawyer Lawyer { get; set; }
[ForeignKey("PreferredLawyerID")]
public Lawyer PreferredLawyer { get; set; }
} }
} }