PolistDeliverySchedule.cs 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. namespace Admin.NET.Plugin.AiDOP.Supply;
  2. /// <summary>
  3. /// 物料交货单(srm_polist_ds)
  4. /// </summary>
  5. [SugarTable("srm_polist_ds", "PO行交货单")]
  6. public class PolistDeliverySchedule
  7. {
  8. [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = false)]
  9. public long Id { get; set; }
  10. [SugarColumn(ColumnName = "domain", Length = 8)]
  11. public string Domain { get; set; } = string.Empty;
  12. [SugarColumn(ColumnName = "icdsid")]
  13. public long IcdsId { get; set; }
  14. [SugarColumn(ColumnName = "dsnum", Length = 128)]
  15. public string DsNum { get; set; } = string.Empty;
  16. [SugarColumn(ColumnName = "status", Length = 10)]
  17. public string Status { get; set; } = "N";
  18. [SugarColumn(ColumnName = "itemnum", Length = 128)]
  19. public string ItemNum { get; set; } = string.Empty;
  20. [SugarColumn(ColumnName = "um", Length = 124)]
  21. public string Um { get; set; } = string.Empty;
  22. [SugarColumn(ColumnName = "purgroup", Length = 50)]
  23. public string PurGroup { get; set; } = string.Empty;
  24. [SugarColumn(ColumnName = "suppliercode", Length = 50)]
  25. public string SupplierCode { get; set; } = string.Empty;
  26. [SugarColumn(ColumnName = "supplier", Length = 50)]
  27. public string Supplier { get; set; } = string.Empty;
  28. [SugarColumn(ColumnName = "submitdate", IsNullable = true)]
  29. public DateTime? SubmitDate { get; set; }
  30. [SugarColumn(ColumnName = "requestdate", IsNullable = true)]
  31. public DateTime? RequestDate { get; set; }
  32. [SugarColumn(ColumnName = "needdate", IsNullable = true)]
  33. public DateTime? NeedDate { get; set; }
  34. [SugarColumn(ColumnName = "ponumber", Length = 50)]
  35. public string PoNumber { get; set; } = string.Empty;
  36. [SugarColumn(ColumnName = "poline")]
  37. public int PoLine { get; set; }
  38. [SugarColumn(ColumnName = "schedqty")]
  39. public decimal SchedQty { get; set; }
  40. [SugarColumn(ColumnName = "lastsentdate", IsNullable = true)]
  41. public DateTime? LastSentDate { get; set; }
  42. [SugarColumn(ColumnName = "lastsentqty")]
  43. public decimal LastSentQty { get; set; }
  44. [SugarColumn(ColumnName = "sentqty")]
  45. public decimal SentQty { get; set; }
  46. [SugarColumn(ColumnName = "restqty")]
  47. public decimal RestQty { get; set; }
  48. [SugarColumn(ColumnName = "createuser", Length = 24, IsNullable = true)]
  49. public string? CreateUser { get; set; }
  50. [SugarColumn(ColumnName = "updateuser", Length = 24, IsNullable = true)]
  51. public string? UpdateUser { get; set; }
  52. [SugarColumn(ColumnName = "createtime", IsNullable = true)]
  53. public DateTime? CreateTime { get; set; }
  54. [SugarColumn(ColumnName = "updatetime", IsNullable = true)]
  55. public DateTime? UpdateTime { get; set; }
  56. [SugarColumn(ColumnName = "remarks", Length = 500)]
  57. public string Remarks { get; set; } = string.Empty;
  58. [SugarColumn(ColumnName = "isactive")]
  59. public int IsActive { get; set; } = 1;
  60. [SugarColumn(ColumnName = "returnqty", IsNullable = true)]
  61. public decimal? ReturnQty { get; set; }
  62. [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
  63. public long? TenantId { get; set; }
  64. }