namespace BPA.MES.Base.Application.Services
{
    /// <summary>
    /// 名    称 ：码表数据    
    /// 创 建 人 ：yangxiao  
    /// 创建时间 ：  2023/8/9 9:56:11 
    /// 描    述 ：  
    /// </summary>
    public class DictDataDto
    {
        /// <summary>
        /// 类型id
        /// </summary>
        public string TypeId { get; set; }
        /// <summary>
        /// 值
        /// </summary>
        public string Value { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
    }
    /// <summary>
    /// 增加
    /// </summary>
    public class DictDataAddInput : DictDataDto
    {

    }
    /// <summary>
    /// 修改
    /// </summary>
    public class DictDataUpdateInput : DictDataDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
    }
    /// <summary>
    /// 刪除
    /// </summary>
    public class DictDataDelInput
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
    }
    /// <summary>
    /// 普通查询条件
    /// </summary>
    public class DictDataQueryInput
    {
        /// <summary>
        /// 码表类型Id
        /// </summary>
        public string TypeId { get; set; }
        /// <summary>
        /// 码表类型编码
        /// </summary>
        public string TypeCode { get; set; }
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
    }
    /// <summary>
    /// 分页查询条件
    /// </summary>
    public class DictDataQueryPageInput : RequestPage
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Value { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 码表类型Id
        /// </summary>
        public string TypeId { get; set; }
    }
    /// <summary>
    /// 输出
    /// </summary>
    public class DictDataOutput : DictDataDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
        //下面增加多的数据
    }
}
