SeOrderEntry.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. namespace Admin.NET.Plugin.AiDOP.Order;
  2. /// <summary>
  3. /// 销售订单明细表(crm_seorderentry)
  4. /// </summary>
  5. [SugarTable("crm_seorderentry", "销售订单明细表")]
  6. public class SeOrderEntry
  7. {
  8. [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = false)]
  9. public long Id { get; set; }
  10. [SugarColumn(ColumnName = "seorder_id")]
  11. public long SeOrderId { get; set; }
  12. [SugarColumn(ColumnName = "bill_no", Length = 64)]
  13. public string? BillNo { get; set; }
  14. [SugarColumn(ColumnName = "entry_seq")]
  15. public int? EntrySeq { get; set; }
  16. [SugarColumn(ColumnName = "item_number", Length = 64)]
  17. public string? ItemNumber { get; set; }
  18. [SugarColumn(ColumnName = "item_name", Length = 128)]
  19. public string? ItemName { get; set; }
  20. [SugarColumn(ColumnName = "specification", Length = 256)]
  21. public string? Specification { get; set; }
  22. [SugarColumn(ColumnName = "unit", Length = 32)]
  23. public string? Unit { get; set; }
  24. [SugarColumn(ColumnName = "qty")]
  25. public decimal? Qty { get; set; }
  26. /// <summary>客户要求交期</summary>
  27. [SugarColumn(ColumnName = "plan_date")]
  28. public DateTime? PlanDate { get; set; }
  29. /// <summary>最终交货日期</summary>
  30. [SugarColumn(ColumnName = "date")]
  31. public DateTime? Date { get; set; }
  32. /// <summary>系统建议交期(产能)</summary>
  33. [SugarColumn(ColumnName = "sys_capacity_date")]
  34. public DateTime? SysCapacityDate { get; set; }
  35. [SugarColumn(ColumnName = "remark", Length = 512)]
  36. public string? Remark { get; set; }
  37. /// <summary>0=再评审 1=新建 2=评审 3=确认</summary>
  38. [SugarColumn(ColumnName = "progress")]
  39. public int? Progress { get; set; } = 1;
  40. [SugarColumn(ColumnName = "deliver_count")]
  41. public decimal? DeliverCount { get; set; }
  42. [SugarColumn(ColumnName = "create_by")]
  43. public long? CreateBy { get; set; }
  44. [SugarColumn(ColumnName = "IsDeleted")]
  45. public int IsDeleted { get; set; } = 0;
  46. [SugarColumn(ColumnName = "create_time")]
  47. public DateTime? CreateTime { get; set; }
  48. [SugarColumn(ColumnName = "update_time")]
  49. public DateTime? UpdateTime { get; set; }
  50. }