78 lines
2.1 KiB
C#
78 lines
2.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DOAN.Model.MES.trace
|
|
{
|
|
/// <summary>
|
|
/// 总成产品记录表
|
|
/// </summary>
|
|
[SugarTable("trace_product_record")]
|
|
public class TraceProductRecord
|
|
{
|
|
/// <summary>
|
|
/// id
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 总成码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "production_sn")]
|
|
public string ProductionSn { get; set; }
|
|
|
|
/// <summary>
|
|
/// 总成产品编号
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "production_code")]
|
|
public string ProductionCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 总成产品名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "production_name")]
|
|
public string ProductionName { get; set; }
|
|
|
|
/// <summary>
|
|
/// SN追溯码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "part_sn")]
|
|
public string PartSn { get; set; }
|
|
|
|
/// <summary>
|
|
/// 子零件扫码数据汇总,逗号隔开
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "part_sub_scan_data")]
|
|
public string PartSubScanData { get; set; }
|
|
|
|
/// <summary>
|
|
/// 追溯数据汇总,逗号隔开
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "qc_data")]
|
|
public string QcData { get; set; }
|
|
|
|
/// <summary>
|
|
/// 检测结果是否合格
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "result")]
|
|
public string Result { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "remark")]
|
|
public string Remark { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "create_time")]
|
|
public DateTime? CreateTime { get; set; }
|
|
}
|
|
}
|