re arrange Transaction.cs

This commit is contained in:
jojo aquino 2025-03-24 09:10:40 +00:00
parent 3b621227cf
commit 10be070fae

View File

@ -11,12 +11,21 @@ namespace EnotaryoPH.Data.Entities
[Column("IsRecorded")]
public bool? IsRecorded { get; set; }
[ForeignKey("LawyerID")]
public Lawyer Lawyer { get; set; }
[Column("LawyerID")]
public int? LawyerID { get; set; }
[ForeignKey("PreferredLawyerID")]
public Lawyer PreferredLawyer { get; set; }
[Column("PreferredLawyerID")]
public int? PreferredLawyerID { get; set; }
[ForeignKey("PrincipalID")]
public User Principal { get; set; }
[Column("PrincipalID")]
public int PrincipalID { get; set; }
@ -37,14 +46,5 @@ namespace EnotaryoPH.Data.Entities
public TransactionSelfie TransactionSelfie { get; set; }
public List<TransactionSignatory> TransactionSignatories { get; set; }
[ForeignKey("PrincipalID")]
public User Principal { get; set; }
[ForeignKey("LawyerID")]
public Lawyer Lawyer { get; set; }
[ForeignKey("PreferredLawyerID")]
public Lawyer PreferredLawyer { get; set; }
}
}