SeOrderEntry.cs 2.2 KB

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