精简实体修改
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-08-22 18:10:29 +08:00
parent f0943ca9a4
commit 4319982be9
159 changed files with 520 additions and 2225 deletions
+16 -19
View File
@@ -7,16 +7,30 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
[Table("Dictionary")]
public partial class Dictionary : Entity, IAuditUpdate, IAuditAdd
public partial class Dictionary : BaseFullAuditEntity
{
#region µ¼º½ÊôÐÔ
[JsonIgnore]
public List<DoctorDictionary> DoctorDicRelationList { get; set; } = new List<DoctorDictionary>();
[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>();
#endregion
public string ChildGroup { get; set; }
public int ChildCodeEnum { get; set; }
public DicDataTypeEnum DataTypeEnum { get; set; }
@@ -32,13 +46,6 @@ namespace IRaCIS.Core.Domain.Models
public int ShowOrder { get; set; }
public Guid UpdateUserId { get; set; }
public DateTime UpdateTime { get; set; }
public Guid CreateUserId { get; set; }
public DateTime CreateTime { get; set; }
public string Code { get; set; }
public Guid? ParentId { get; set; }
@@ -47,16 +54,6 @@ 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>();