using SqlSugar; using System; namespace ProductionSystem_Model.ViewModel.Response.Para { public class ParaColVM { /// /// 行号 /// public int SerialNumber { get; set; } /// /// 主键 /// public string Id { get; set; } /// /// 产品型号 /// [SugarColumn(ColumnName = "product_type")] public string ProductType { get; set; } /// /// 参数类别 /// [SugarColumn(ColumnName = "para_category")] public string ParaCategory { get; set; } /// /// 参数类别名称 /// public string ParaCategoryName { get; set; } /// /// 参数编码 /// public string ParaCode { get; set; } /// /// 参数名称 /// public string ParaName { get; set; } /// /// 目标值PLC地址 /// public string TargetPointAddress { get; set; } /// /// 目标值只读 /// true:只读 false:不只读 /// public bool TargetReadonly { get; set; } /// /// 目标值只读 /// true:只读 false:不只读 /// public string StrTargetReadonly { get; set; } /// /// 上限值PLC地址 /// public string MaxPointAddress { get; set; } /// /// 上限值只读 /// true:只读 false:不只读 /// public bool MaxReadonly { get; set; } /// /// 上限值只读 /// true:只读 false:不只读 /// public string StrMaxReadonly { get; set; } /// /// 下限值PLC地址 /// public string MinPointAddress { get; set; } /// /// 下限值只读 /// true:只读 false:不只读 /// public bool MinReadonly { get; set; } /// /// 下限值只读 /// true:只读 false:不只读 /// public string StrMinReadonly { get; set; } /// /// 是否必须 /// 当为true时参数项后不显示复选框 /// public bool IsMust { get; set; } /// /// 是否必须 /// 当为true时参数项后不显示复选框 /// public string StrIsMust { get; set; } /// /// 是否使用PLC地址 /// public string IsMustPointAddress { get; set; } /// /// 是否在主界面显示 /// public bool IsShowMain { get; set; } /// /// 是否在主界面显示 /// public string StrIsShowMain { get; set; } /// /// 是否在参数配置页面显示 /// public bool IsShowColConfig { get; set; } /// /// 是否在主界面显示 /// public string StrIsShowColConfig { get; set; } /// /// 采集值PLC地址 /// public string CollectPointAddress { get; set; } /// /// 测试结果PLC地址 /// public string TestResultPointAddress { get; set; } /// /// 排序索引 /// [SugarColumn(ColumnName = "sortindex")] public int SortIndex { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 数据状态 /// 1—可用,0—不可用 /// public bool IsActive { get; set; } = true; /// /// 数据状态 /// public string StrIsActive { get; set; } /// /// 创建时间 /// public DateTime CreatedTime { get; set; } = DateTime.Now; /// /// 创建者 /// public string CreatedBy { get; set; } /// /// 最后一次修改时间 /// public DateTime? UpdatedTime { get; set; } /// /// 最后一次修改者 /// public string UpdatedBy { get; set; } } }