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