[JsonIgnore]

This commit is contained in:
2022-12-28 14:19:59 +08:00
parent dd45ad0c07
commit c8d1e2fb6b
41 changed files with 98 additions and 59 deletions
+4 -4
View File
@@ -9,7 +9,7 @@ namespace IRaCIS.Core.Domain.Models
[Table("Dictionary")]
public partial class Dictionary : Entity, IAuditUpdate, IAuditAdd
{
[JsonIgnore]
public List<DoctorDictionary> DoctorDicRelationList { get; set; } = new List<DoctorDictionary>();
public string ChildGroup { get; set; }
@@ -47,14 +47,14 @@ namespace IRaCIS.Core.Domain.Models
public Guid? ConfigTypeId { get; set; }
[JsonIgnore]
[ForeignKey("ConfigTypeId")]
public Dictionary ConfigDictionary { get; set; }
[JsonIgnore]
[ForeignKey("ParentId")]
public Dictionary Parent { get; set; }
[JsonIgnore]
public List<Dictionary> ChildList { get; set; } = new List<Dictionary>();