Files
kunshan-bzfm-mes-backend/DOAN.Model/MES/Quality/IPQC/QcDefectCollection.cs
2024-12-27 10:08:11 +08:00

152 lines
3.9 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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