add nav property to Lawyer
This commit is contained in:
parent
43857b43e1
commit
aacee2363b
@ -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; }
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user