66 lines
1.5 KiB
C#
66 lines
1.5 KiB
C#
using IRaCIS.Core.Domain.Share;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace IRaCIS.Core.Domain.Models
|
|
{
|
|
[Table("Dictionary")]
|
|
public partial class Dictionary : Entity, IAuditUpdate, IAuditAdd
|
|
{
|
|
|
|
public List<DoctorDictionary> DoctorDicRelationList { get; set; } = new List<DoctorDictionary>();
|
|
|
|
public string ChildGroup { get; set; }
|
|
|
|
public int ChildCodeEnum { get; set; }
|
|
|
|
|
|
public DicDataTypeEnum DataTypeEnum { get; set; }
|
|
|
|
|
|
[Column("Value")]
|
|
public string Value { get; set; } = string.Empty;
|
|
|
|
[Column("ValueCN")]
|
|
public string ValueCN { get; set; } = string.Empty;
|
|
|
|
|
|
[StringLength(512)]
|
|
public string Description { get; set; } = string.Empty;
|
|
|
|
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; }
|
|
|
|
public bool IsEnable { get; set; }
|
|
|
|
public Guid? ConfigTypeId { get; set; }
|
|
|
|
|
|
[ForeignKey("ConfigTypeId")]
|
|
public Dictionary ConfigDictionary { get; set; }
|
|
|
|
|
|
[ForeignKey("ParentId")]
|
|
public Dictionary Parent { get; set; }
|
|
|
|
|
|
|
|
[NotMapped]
|
|
public string MappedValue { get; set; }
|
|
|
|
|
|
}
|
|
}
|