using YBEE.EQM.Core;

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

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

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

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

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

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

        /// <summary>
        /// 字典数据
        /// </summary>
        public ICollection<SysDictDataOutput> DictDatas { get; set; }
    }
}