2025-11-29 15:21:55 +08:00

82 lines
2.3 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 RIZO.Model.Mes.ProductionPreparation
{
/// <summary>
/// 质量控制主表
/// </summary>
[SugarTable("quality_control")]
public class QualityControl
{
/// <summary>
/// 主表主键ID自增
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public long Id { get; set; }
/// <summary>
/// 质控编码唯一标识格式QC+日期+序号如QC20251201001
/// </summary>
[SugarColumn(ColumnName = "qc_code")]
public string QcCode { get; set; }
/// <summary>
/// 质控类型
/// </summary>
[SugarColumn(ColumnName = "check_type")]
public string CheckType { get; set; }
/// <summary>
/// 检查日期格式YYYY-MM-DD
/// </summary>
[SugarColumn(ColumnName = "check_date")]
public string CheckDate { get; set; }
/// <summary>
/// 关联产线1号产线/2号产线
/// </summary>
[SugarColumn(ColumnName = "line_code")]
public string LineCode { get; set; }
/// <summary>
/// 检查结果0=不合格1=合格)
/// </summary>
[SugarColumn(ColumnName = "check_result")]
public int? CheckResult { get; set; }
/// <summary>
/// 检查完成时间
/// </summary>
[SugarColumn(ColumnName = "check_time")]
public DateTime? CheckTime { get; set; }
/// <summary>
/// 备注(如不合格原因)
/// </summary>
public string Remark { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "created_time")]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(ColumnName = "created_by")]
public string CreatedBy { get; set; }
/// <summary>
/// 更新时间(自动同步)
/// </summary>
[SugarColumn(ColumnName = "updated_time")]
public DateTime? UpdatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
[SugarColumn(ColumnName = "updated_by")]
public string UpdatedBy { get; set; }
}
}