using System; using SqlSugar; using System.Collections.Generic; namespace ZR.Model.Models { /// /// 接口管理/SAP交验单记录表,数据实体对象 /// /// @author admin /// @date 2023-05-05 /// [SugarTable("sap_deliver_record")] public class SapDeliverRecord:BusinessBase { /// /// 主键ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = false)] public int Id { get; set; } /// /// 交验单号 /// public string DeliverNo { get; set; } /// /// 送检人员 /// public string CheckName { get; set; } /// /// 生产令号 /// public string BomNo { get; set; } /// /// 行项目 /// public int RowNo { get; set; } /// /// 物料类型(外协件,外购件) /// public string Category { get; set; } /// /// 物料编码 /// public string MaterialCode { get; set; } /// /// 物料名称 /// public string MaterialName { get; set; } /// /// 规格型号/图号 /// public string MaterialSpec { get; set; } /// /// 关键件标识(0非关键件,1关键件) /// public bool KeyFlag { get; set; } /// /// 交验单数量 /// public int Qty { get; set; } /// /// 抽检数量 /// [SugarColumn(ColumnName = "spot_check_qty")] public int SpotCheckQty { get; set; } /// /// 质量合格数量 /// [SugarColumn(ColumnName = "check_qty")] public int? CheckQty { get; set; } /// /// 质检结果(Wait未质检,OK质检合格,NG质检不合格,PartOK部分质检通过) /// [SugarColumn(ColumnName = "check_result")] public string CheckResult { get; set; } /// /// 入库数量 /// [SugarColumn(ColumnName = "instore_qty")] public int? InstoreQty { get; set; } /// /// 入库结果(0未入库,99入库完成) /// [SugarColumn(ColumnName = "instore_result")] public int InstoreResult { get; set; } } }