From aacee2363b6c7910115caff7bd72964d4e71a001 Mon Sep 17 00:00:00 2001 From: jojo aquino Date: Sat, 22 Mar 2025 13:17:15 +0000 Subject: [PATCH] add nav property to Lawyer --- EnotaryoPH/EnotaryoPH.Data/Entities/Transaction.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/EnotaryoPH/EnotaryoPH.Data/Entities/Transaction.cs b/EnotaryoPH/EnotaryoPH.Data/Entities/Transaction.cs index dbdfbd4..141de7c 100644 --- a/EnotaryoPH/EnotaryoPH.Data/Entities/Transaction.cs +++ b/EnotaryoPH/EnotaryoPH.Data/Entities/Transaction.cs @@ -40,5 +40,11 @@ namespace EnotaryoPH.Data.Entities [ForeignKey("PrincipalID")] public User Principal { get; set; } + + [ForeignKey("LawyerID")] + public Lawyer Lawyer { get; set; } + + [ForeignKey("PreferredLawyerID")] + public Lawyer PreferredLawyer { get; set; } } } \ No newline at end of file