namespace Admin.NET.Plugin.AiDOP.ProcurementExecution.Entity; /// /// PurOrdRctDetail(aidopdev 采购收货/退货明细) /// [SugarTable("PurOrdRctDetail")] public class PurOrdRctDetail { [SugarColumn(ColumnName = "RecID", IsPrimaryKey = true, IsIdentity = false)] public int RecID { get; set; } [SugarColumn(ColumnName = "Domain", Length = 24, IsNullable = true)] public string Domain { get; set; } [SugarColumn(ColumnName = "RctType", Length = 8, IsNullable = false)] public string RctType { get; set; } [SugarColumn(ColumnName = "Receiver", Length = 24, IsNullable = false)] public string Receiver { get; set; } [SugarColumn(ColumnName = "Line")] public short Line { get; set; } [SugarColumn(ColumnName = "ItemNum", Length = 60, IsNullable = true)] public string ItemNum { get; set; } [SugarColumn(ColumnName = "Dimension1", Length = 8, IsNullable = false)] public string Dimension1 { get; set; } [SugarColumn(ColumnName = "Dimension2", Length = 8, IsNullable = false)] public string Dimension2 { get; set; } [SugarColumn(ColumnName = "OrdNbr", Length = 24, IsNullable = false)] public string OrdNbr { get; set; } [SugarColumn(ColumnName = "RctDate", IsNullable = true)] public DateTime? RctDate { get; set; } [SugarColumn(ColumnName = "POCost", ColumnDataType = "decimal(15,6)")] public decimal POCost { get; set; } [SugarColumn(ColumnName = "UM", Length = 8, IsNullable = true)] public string UM { get; set; } [SugarColumn(ColumnName = "PerformDate", IsNullable = true)] public DateTime? PerformDate { get; set; } [SugarColumn(ColumnName = "QtyOrded", ColumnDataType = "decimal(15,5)")] public decimal QtyOrded { get; set; } [SugarColumn(ColumnName = "RctQty", ColumnDataType = "decimal(15,5)")] public decimal RctQty { get; set; } [SugarColumn(ColumnName = "Site", Length = 24, IsNullable = true)] public string Site { get; set; } [SugarColumn(ColumnName = "Supp", Length = 20, IsNullable = true)] public string Supp { get; set; } [SugarColumn(ColumnName = "Location", Length = 8, IsNullable = false)] public string Location { get; set; } [SugarColumn(ColumnName = "LotSerial", Length = 120, IsNullable = true)] public string LotSerial { get; set; } [SugarColumn(ColumnName = "Refs", Length = 8, IsNullable = true)] public string Refs { get; set; } [SugarColumn(ColumnName = "QtyReceived", ColumnDataType = "decimal(15,5)")] public decimal QtyReceived { get; set; } [SugarColumn(ColumnName = "Potype", Length = 8, IsNullable = false)] public string Potype { get; set; } [SugarColumn(ColumnName = "BusinessID")] public long BusinessID { get; set; } [SugarColumn(ColumnName = "CreateUser", Length = 24, IsNullable = true)] public string CreateUser { get; set; } [SugarColumn(ColumnName = "UpdateUser", Length = 24, IsNullable = true)] public string UpdateUser { get; set; } [SugarColumn(ColumnName = "CreateTime", IsNullable = true)] public DateTime? CreateTime { get; set; } [SugarColumn(ColumnName = "UpdateTime", IsNullable = true)] public DateTime? UpdateTime { get; set; } [SugarColumn(ColumnName = "IsActive", ColumnDataType = "bit(1)")] public bool IsActive { get; set; } [SugarColumn(ColumnName = "IsConfirm", ColumnDataType = "bit(1)")] public bool IsConfirm { get; set; } [SugarColumn(ColumnName = "Typed", Length = 4, IsNullable = true)] public string Typed { get; set; } [SugarColumn(ColumnName = "QC", Length = 8, IsNullable = true)] public string QC { get; set; } [SugarColumn(ColumnName = "QCDescr", ColumnDataType = "text", IsNullable = true)] public string QCDescr { get; set; } [SugarColumn(ColumnName = "QCDate", IsNullable = true)] public DateTime? QCDate { get; set; } [SugarColumn(ColumnName = "Remark", Length = 200, IsNullable = true)] public string Remark { get; set; } [SugarColumn(ColumnName = "IsChanged", ColumnDataType = "bit(1)")] public bool IsChanged { get; set; } [SugarColumn(ColumnName = "TaxClass", Length = 20, IsNullable = true)] public string TaxClass { get; set; } [SugarColumn(ColumnName = "TaxIn", ColumnDataType = "bit(1)")] public bool TaxIn { get; set; } [SugarColumn(ColumnName = "UMConversion", ColumnDataType = "decimal(12,7)")] public decimal UMConversion { get; set; } [SugarColumn(ColumnName = "Curr", Length = 3, IsNullable = true)] public string Curr { get; set; } [SugarColumn(ColumnName = "IsClosed", ColumnDataType = "bit(1)")] public bool IsClosed { get; set; } [SugarColumn(ColumnName = "Delivery", Length = 30, IsNullable = true)] public string Delivery { get; set; } [SugarColumn(ColumnName = "InvShelf", Length = 24, IsNullable = true)] public string InvShelf { get; set; } [SugarColumn(ColumnName = "EffTime", IsNullable = true)] public DateTime? EffTime { get; set; } [SugarColumn(ColumnName = "OrdLine")] public short OrdLine { get; set; } [SugarColumn(ColumnName = "QCNbr", Length = 60, IsNullable = true)] public string QCNbr { get; set; } [SugarColumn(ColumnName = "StatusByQC", Length = 12, IsNullable = true)] public string StatusByQC { get; set; } [SugarColumn(ColumnName = "IsRounding", ColumnDataType = "bit(1)")] public bool IsRounding { get; set; } [SugarColumn(ColumnName = "CustPO", Length = 100, IsNullable = true)] public string CustPO { get; set; } [SugarColumn(ColumnName = "BarCode", Length = 80, IsNullable = true)] public string BarCode { get; set; } [SugarColumn(ColumnName = "BlanketLine")] public int BlanketLine { get; set; } [SugarColumn(ColumnName = "ProjectLine")] public int ProjectLine { get; set; } [SugarColumn(ColumnName = "RctNbr", Length = 30, IsNullable = true)] public string RctNbr { get; set; } [SugarColumn(ColumnName = "RctLine")] public short RctLine { get; set; } [SugarColumn(ColumnName = "QtyReturn", ColumnDataType = "decimal(15,5)")] public decimal QtyReturn { get; set; } [SugarColumn(ColumnName = "PurOrdRctRecID")] public long PurOrdRctRecID { get; set; } [SugarColumn(ColumnName = "QcQty", ColumnDataType = "decimal(18,5)")] public decimal QcQty { get; set; } [SugarColumn(ColumnName = "ERPfld1", Length = 200, IsNullable = true)] public string ERPfld1 { get; set; } [SugarColumn(ColumnName = "ERPfld2", Length = 200, IsNullable = true)] public string ERPfld2 { get; set; } }