namespace RIZO.Model.Mes.ProductionPreparation
{
///
/// 质量控制从表(存储具体检查参数明细)
///
[SugarTable("quality_control_detail")]
public class QualityControlDetail
{
///
/// 从表主键ID(自增)
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public long Id { get; set; }
///
/// 关联主表质控编码(quality_control.qc_code)
///
[SugarColumn(ColumnName = "qc_code")]
public string QcCode { get; set; }
///
/// 检查参数名称(如:环境温度、设备运行状态)
///
[SugarColumn(ColumnName = "param_name")]
public string ParamName { get; set; }
///
/// 参数值(如:23℃、正常)
///
[SugarColumn(ColumnName = "param_value")]
public string ParamValue { get; set; }
///
/// 参数单位(如:℃/%/MPa,无单位则留空)
///
[SugarColumn(ColumnName = "param_unit")]
public string ParamUnit { get; set; }
///
/// 该参数是否合格(0=不合格,1=合格)
///
[SugarColumn(ColumnName = "is_pass")]
public string IsPass { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "created_time")]
public DateTime? CreatedTime { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "created_by")]
public string CreatedBy { get; set; }
///
/// 创建人名称
///
[SugarColumn(ColumnName = "created_name")]
public string CreatedName { get; set; }
}
}