namespace DOAN.Model.MES.quality.IPQC
{
///
/// 缺陷收集
///
[SugarTable("qc_defect_collection")]
public class QcDefectCollection
{
///
/// id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
public string Id { get; set; }
///
/// 线别
///
[SugarColumn(ColumnName = "line_code")]
public string LineCode { get; set; }
///
/// 日期
///
[SugarColumn(ColumnName = "date_time")]
public DateTime? DateTime { get; set; }
///
/// 原材料编码
///
[SugarColumn(ColumnName = "material_code")]
public string MaterialCode { get; set; }
///
/// 原材料名称
///
[SugarColumn(ColumnName = "material_name")]
public string MaterialName { get; set; }
///
/// 产品编码
///
[SugarColumn(ColumnName = "product_code")]
public string ProductCode { get; set; }
///
/// 产品名称
///
[SugarColumn(ColumnName = "product_name")]
public string ProductName { get; set; }
///
/// 批号
///
[SugarColumn(ColumnName = "batch_number")]
public string BatchNumber { get; set; }
///
/// 单位
///
public string Unit { get; set; }
public string Specification { get; set; }
///
/// 供应商编码
///
[SugarColumn(ColumnName = "supplier_code")]
public string SupplierCode { get; set; }
///
/// 供应商名称
///
[SugarColumn(ColumnName = "supplier_name")]
public string SupplierName { get; set; }
///
/// 计划数量
///
[SugarColumn(ColumnName = "plan_num")]
public decimal PlanNum { get; set; }
///
/// 实际数量
///
[SugarColumn(ColumnName = "actual_num")]
public decimal ActualNum { get; set; }
///
/// 缺陷数量
///
public decimal Quantity { get; set; }
///
/// 工序名称
///
[SugarColumn(ColumnName = "process_name")]
public string ProcessName { get; set; }
///
/// 负责人
///
public string Superintendent { get; set; }
///
/// 缺陷描述
///
[SugarColumn(ColumnName = "defect_description")]
public string DefectDescription { get; set; }
///
/// 5M1E(1-人 2-机 3-料 4-法 5-环 6-测)
///
public int? Tqm { get; set; }
///
/// 1:报损单 2:索赔单
///
public int? Type { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "cREATED_BY")]
public string CreatedBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "cREATED_TIME")]
public DateTime? CreatedTime { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnName = "uPDATED_BY")]
public string UpdatedBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName = "uPDATED_TIME")]
public DateTime? UpdatedTime { get; set; }
}
}