using YBEE.EQM.Core;

namespace YBEE.EQM.Application
{
    /// <summary>
    /// 字典数据输出参数
    /// </summary>
    public class SysDictDataOutput
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Required]
        public int Id { get; set; }

        /// <summary>
        /// 字典类型Id
        /// </summary>
        [Required]
        public int SysDictTypeId { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [Required]
        public string Name { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [Required]
        public string NickName { get; set; } = "";

        /// <summary>
        /// 编码
        /// </summary>
        [Required]
        public string Code { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        [Required]
        public int Value { get; set; }

        /// <summary>
        /// 前端状态编码
        /// </summary>
        public string AntStatus { get; set; }

        /// <summary>
        /// 前端颜色值
        /// </summary>
        public string AntColor { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [Required]
        public int Sort { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public CommonStatus Status { get; set; }

        /// <summary>
        /// 字典类型
        /// </summary>
        public SysDictTypeOutput SysDictType { get; set; }
    }
}