using SqlSugar; using System; namespace CompressorXN_Model { /// /// 参数项 /// [SugarTable("t_para")] public class T_Para { public T_Para() { Id = Guid.NewGuid().ToString(); IsCheck = true; } /// /// 主键 /// [SugarColumn(ColumnName = "id", IsPrimaryKey = true)] public string Id { get; set; } /// /// 机型名称 /// [SugarColumn(ColumnName = "product_type_name")] public string ProductTypeName { get; set; } /// /// 参数类型 /// [SugarColumn(ColumnName = "para_type")] public string ParaType { get; set; } /// /// 参数名称 /// [SugarColumn(ColumnName = "para_name")] public string ParaName { get; set; } /// /// 目标值 /// [SugarColumn(ColumnName = "target_val")] public decimal? TargetVal { get; set; } /// /// 下限值 /// [SugarColumn(ColumnName = "min_val")] public decimal? MinVal { get; set; } /// /// 上限值 /// [SugarColumn(ColumnName = "max_val")] public decimal? MaxVal { get; set; } /// /// 是否检测 /// [SugarColumn(ColumnName = "is_check")] public bool IsCheck { get; set; } } }