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_DictionaryValue : IBaseModel<string>
    {
        /// <summary>
        /// 自增id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }
        /// <summary>
        /// 字典编号
        /// </summary>
        public string dictionarycode { get; set; }
        /// <summary>
        /// 字典项编号
        /// </summary>
        public string valuecode { get; set; }
        /// <summary>
        /// 字典项名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 字典项排序
        /// </summary>
        public int sort { get; set; }
        /// <summary>
        /// 字典项描述
        /// </summary>
        public string describe { get; set; }
        /// <summary>
        /// 字典项状态
        /// </summary>
        public bool statetype { get; set; } = true;
        /// <summary>
        /// 项目名称
        /// </summary>
        public string projectname { get; set; }

        /// <summary>
        /// 系统图片
        /// </summary>
        public List<FileBaseModel> system_image { get; set; } = null;
    }
}
