@@ -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>();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user