namespace RIZO.Model.MES.product_trace { /// /// 生产过程参数 /// [SugarTable("product_process_parameters")] public class ProductProcessParameters { /// /// 主键ID /// [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 工单号 /// [SugarColumn(ColumnName = "workorder", Length = 50)] public string Workorder { get; set; } /// /// 产品序列号 /// [SugarColumn(ColumnName = "product_SN", Length = 50)] public string ProductSN { get; set; } /// /// 工艺路线代码 /// [SugarColumn(ColumnName = "routingCode", Length = 50)] public string RoutingCode { get; set; } /// /// 工序代码 /// [SugarColumn(ColumnName = "operationCode", Length = 50)] public string OperationCode { get; set; } /// /// 流程代码 /// [SugarColumn(ColumnName = "flowCode", Length = 50)] public string FlowCode { get; set; } /// /// 生产线体代码 /// [SugarColumn(ColumnName = "productlinebodyCode", Length = 50)] public string ProductlinebodyCode { get; set; } /// /// 工位代码 /// [SugarColumn(ColumnName = "workstationCode", Length = 50)] public string WorkstationCode { get; set; } /// /// 参数代码 /// [SugarColumn(ColumnName = "parameter_code", Length = 255)] public string ParameterCode { get; set; } /// /// 参数名称 /// [SugarColumn(ColumnName = "parameter_name", Length = 100)] public string ParameterName { get; set; } /// /// PLC点位 /// [SugarColumn(ColumnName = "plc_point", Length = 50)] public string PlcPoint { get; set; } /// /// 描述 /// [SugarColumn(ColumnName = "description", ColumnDataType = "text")] public string Description { get; set; } /// /// 数据类型 /// [SugarColumn(ColumnName = "data_type", Length = 50)] public string DataType { get; set; } /// /// 单位 /// [SugarColumn(ColumnName = "unit", Length = 20)] public string Unit { get; set; } /// /// 实际值 /// [SugarColumn(ColumnName = "actual_value", Length = 50)] public string ActualValue { get; set; } /// /// 期望值 /// [SugarColumn(ColumnName = "expect_value", Length = 50)] public string ExpectValue { get; set; } /// /// 标准值 /// [SugarColumn(ColumnName = "standard_value", ColumnDataType = "decimal(18,4)")] public decimal? StandardValue { get; set; } /// /// 最小值 /// [SugarColumn(ColumnName = "min_value", ColumnDataType = "decimal(18,4)")] public decimal? MinValue { get; set; } /// /// 最大值 /// [SugarColumn(ColumnName = "max_value", ColumnDataType = "decimal(18,4)")] public decimal? MaxValue { get; set; } /// /// 结果 /// [SugarColumn(ColumnName = "result")] public int? Result { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "createdby", Length = 50)] public string Createdby { get; set; } /// /// 更新人 /// [SugarColumn(ColumnName = "updatedby", Length = 50)] public string Updatedby { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "created_time")] public DateTime? CreatedTime { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "updated_time")] public DateTime? UpdatedTime { get; set; } } }