using MadRunFabric.Common; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace MadRunFabric.Model { public class Sys_DictionaryBase : IBaseModel { /// /// 自动id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// 字典编号 /// public string dictionarycode { get; set; } /// /// 字典名称 /// public string dictionaryname { get; set; } /// /// 排序 /// public int sort { get; set; } = 0; /// /// 字典描述 /// public string describe { get; set; } /// /// 状态 /// public bool statetype { get; set; } = true; } }