using Dapper; using Dapper.Contrib; using Dapper.Contrib.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NFine.Application.Entity { /// /// 检验主表 /// [Table("ICSInspection")] public class ICSInspection { /// /// 非自增主键 /// [ExplicitKey] public string ID { get; set; } /// /// 物料条码 /// public string LotNo { get; set; } /// /// 物料代码 /// public string InvCode { get; set; } /// /// 数量 /// public decimal Quantity { get; set; } /// /// 合格数量 /// public decimal QualifiedQuantity { get; set; } /// /// 不合格数量 /// public decimal UnqualifiedQuantity { get; set; } /// /// 特采数量 /// public decimal WaiveQuantity { get; set; } /// /// 抽样数量 /// public decimal SampleQuantity { get; set; } /// /// 不良代码 /// public string BCCode { get; set; } /// /// 不良原因代码 /// public string BRCode { get; set; } /// /// 类型(1:采购,2:产成品,3:委外,4:其他入库,5:生产退料,6:委外退料,7:销售退货) /// public string Type { get; set; } /// /// 检验结果(1:合格,0:不合格) /// public bool Result { get; set; } /// /// /// public DateTime? ExpirationDate { get; set; } public string FileName { get; set; } public bool Enable { get; set; } public string MUSER { get; set; } public string MUSERName { get; set; } public DateTime MTIME { get; set; } public string WorkPoint { get; set; } public string EATTRIBUTE1 { get; set; } public string EATTRIBUTE2 { get; set; } public string EATTRIBUTE3 { get; set; } public string EATTRIBUTE4 { get; set; } public string EATTRIBUTE5 { get; set; } public string EATTRIBUTE6 { get; set; } public string EATTRIBUTE7 { get; set; } public string EATTRIBUTE8 { get; set; } public string EATTRIBUTE9 { get; set; } public string EATTRIBUTE10 { get; set; } } }