using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MDM.Models.Session
{
///
/// 工艺数据采集
///
[SugarTable("product_process_data")]
public class ProductProcessData
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
///
/// 工单号
///
[SugarColumn(ColumnName = "fk_workorder", Length = 50)]
public string FkWorkorder { get; set; }
///
/// 产线编码(U01)
///
[SugarColumn(ColumnName = "lineCode", Length = 50)]
public string LineCode { get; set; }
///
/// 工位编码
///
[SugarColumn(ColumnName = "workstationCode", Length = 50)]
public string WorkstationCode { get; set; }
///
/// 工艺路线编码
///
[SugarColumn(ColumnName = "routingCode", Length = 50)]
public string RoutingCode { get; set; }
///
/// 工序编码
///
[SugarColumn(ColumnName = "operationCode", Length = 50)]
public string OperationCode { get; set; }
///
/// 产品编码
///
[SugarColumn(ColumnName = "productCode", Length = 50)]
public string ProductCode { get; set; }
///
/// 产品名称
///
[SugarColumn(ColumnName = "productname", Length = 50)]
public string Productname { get; set; }
///
/// SN码
///
[SugarColumn(ColumnName = "SNnumber", Length = 50)]
public string SNnumber { get; set; }
///
/// 参数名
///
[SugarColumn(ColumnName = "paramter_name", Length = 50)]
public string ParamterName { get; set; }
///
/// 标准值
///
[SugarColumn(ColumnName = "standard_paramter_value", DecimalDigits = 2)]
public decimal? StandardParamterValue { get; set; }
///
/// 参数值
///
[SugarColumn(ColumnName = "real_paramter_value", DecimalDigits = 2)]
public decimal? RealParamterValue { get; set; }
///
/// 上限
///
[SugarColumn(ColumnName = "up_range_limit", DecimalDigits = 2)]
public decimal? UpRangeLimit { get; set; }
///
/// 下限
///
[SugarColumn(ColumnName = "low_range_limit", DecimalDigits = 2)]
public decimal? LowRangeLimit { get; set; }
///
/// 单位
///
[SugarColumn(ColumnName = "unit", Length = 50)]
public string Unit { get; set; }
///
/// 检测结果
///
[SugarColumn(ColumnName = "checkResult")]
public int? CheckResult { get; set; }
///
/// 参数时间
///
[SugarColumn(ColumnName = "paramTime")]
public DateTime? ParamTime { 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; }
}
}