优化导航属性
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-11 15:40:22 +08:00
parent 36c354c8f0
commit 21ded0d466
34 changed files with 74 additions and 96 deletions
-3
View File
@@ -11,9 +11,6 @@ namespace IRaCIS.Core.Domain.Models
[JsonIgnore]
public virtual TrialStatusDetail TrialDetail { get; set; }
[JsonIgnore]
[ForeignKey("CreateUserId")]
public User CreateUser { get; set; }
[JsonIgnore]
public Doctor Doctor { get; set; }
#endregion
@@ -18,10 +18,6 @@ namespace IRaCIS.Core.Domain.Models
[ForeignKey("TrialId")]
public Trial Trial { get; set; }
[JsonIgnore]
[ForeignKey("CreateUserId")]
public User User { get; set; }
#endregion
public Guid TrialId { get; set; }