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

This commit is contained in:
hang
2024-08-22 20:10:59 +08:00
parent 4319982be9
commit 47ec4a5e7e
142 changed files with 1860 additions and 2493 deletions
+11 -7
View File
@@ -5,10 +5,18 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
[Table("EnrollDetail")]
public partial class EnrollDetail : BaseAuditAddEntity
public partial class EnrollDetail : BaseAddAuditEntity
{
#region µ¼º½ÊôÐÔ
[JsonIgnore]
public virtual TrialStatusDetail TrialDetail { get; set; }
public virtual TrialStatusDetail TrialDetail { get; set; }
[JsonIgnore]
[ForeignKey("CreateUserId")]
public User CreateUser { get; set; }
[JsonIgnore]
public Doctor Doctor { get; set; }
#endregion
public Guid DoctorId { get; set; }
public Guid TrialId { get; set; }
@@ -20,10 +28,6 @@ namespace IRaCIS.Core.Domain.Models
public Guid TrialDetailId { get; set; }
[JsonIgnore]
[ForeignKey("CreateUserId")]
public User CreateUser { get; set; }
[JsonIgnore]
public Doctor Doctor { get; set; }
}
}