[JsonIgnore]
This commit is contained in:
@@ -62,7 +62,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||
/// 生成账号 加入到项目中后 赋值
|
||||
/// </summary>
|
||||
public Guid? DoctorUserId { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public User DoctorUser { get; set; }
|
||||
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||
[Table("EnrollDetail")]
|
||||
public partial class EnrollDetail : Entity, IAuditAdd
|
||||
{
|
||||
[JsonIgnore]
|
||||
public virtual TrialStatusDetail TrialDetail { get; set; }
|
||||
|
||||
public Guid DoctorId { get; set; }
|
||||
@@ -18,12 +19,13 @@ namespace IRaCIS.Core.Domain.Models
|
||||
public int OptUserType { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
[ForeignKey("TrialDetail")]
|
||||
|
||||
public Guid TrialDetailId { get; set; }
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("CreateUserId")]
|
||||
public User CreateUser { get; set; }
|
||||
public User CreateUser { get; set; }
|
||||
[JsonIgnore]
|
||||
public Doctor Doctor { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,8 +8,9 @@ namespace IRaCIS.Core.Domain.Models
|
||||
public partial class TrialDictionary : Entity
|
||||
{
|
||||
//public Guid Id { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public virtual Trial Trial { get; set; }
|
||||
[JsonIgnore]
|
||||
public virtual Dictionary Dictionary { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
|
||||
@@ -13,6 +13,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||
[Table("TrialStateChange")]
|
||||
public class TrialStateChange : Entity, IAuditAdd
|
||||
{
|
||||
[JsonIgnore]
|
||||
[ForeignKey("TrialId")]
|
||||
public Trial Trial { get; set; }
|
||||
|
||||
@@ -33,7 +34,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||
|
||||
public Guid CreateUserId { get; set; }
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("CreateUserId")]
|
||||
public User User { get; set; }
|
||||
|
||||
|
||||
@@ -13,10 +13,9 @@ namespace IRaCIS.Core.Domain.Models
|
||||
{
|
||||
IntoGroupDetails = new HashSet<EnrollDetail>();
|
||||
}
|
||||
|
||||
[JsonIgnore]
|
||||
public Trial Trial { get; set; }
|
||||
|
||||
[ForeignKey("Trial")]
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user