SeOrderChange.cs 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. namespace Admin.NET.Plugin.AiDOP.Order;
  2. /// <summary>
  3. /// 销售订单变更表(crm_seorder_change)
  4. /// </summary>
  5. [SugarTable("crm_seorder_change", "销售订单变更表")]
  6. public class SeOrderChange
  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. /// <summary>1=销售 2=计划</summary>
  15. [SugarColumn(ColumnName = "order_type")]
  16. public int? OrderType { get; set; }
  17. [SugarColumn(ColumnName = "custom_id")]
  18. public long? CustomId { get; set; }
  19. [SugarColumn(ColumnName = "custom_no", Length = 64)]
  20. public string? CustomNo { get; set; }
  21. [SugarColumn(ColumnName = "custom_name", Length = 128)]
  22. public string? CustomName { get; set; }
  23. [SugarColumn(ColumnName = "date")]
  24. public DateTime? Date { get; set; }
  25. [SugarColumn(ColumnName = "custom_level")]
  26. public int? CustomLevel { get; set; }
  27. [SugarColumn(ColumnName = "urgent")]
  28. public int? Urgent { get; set; }
  29. [SugarColumn(ColumnName = "bill_from", Length = 128)]
  30. public string? BillFrom { get; set; }
  31. [SugarColumn(ColumnName = "country", Length = 64)]
  32. public string? Country { get; set; }
  33. [SugarColumn(ColumnName = "rdate")]
  34. public DateTime? RDate { get; set; }
  35. /// <summary>变更原因:客户原因 / 公司原因</summary>
  36. [SugarColumn(ColumnName = "change_Reason", Length = 64)]
  37. public string? ChangeReason { get; set; }
  38. /// <summary>变更要求:变更订单 / 取消订单</summary>
  39. [SugarColumn(ColumnName = "change_Type", Length = 64)]
  40. public string? ChangeType { get; set; }
  41. [SugarColumn(ColumnName = "change_content", Length = 1024)]
  42. public string? ChangeContent { get; set; }
  43. [SugarColumn(ColumnName = "flowstate", Length = 64)]
  44. public string? FlowState { get; set; }
  45. [SugarColumn(ColumnName = "IsDeleted")]
  46. public int IsDeleted { get; set; } = 0;
  47. [SugarColumn(ColumnName = "create_by_name", Length = 64)]
  48. public string? CreateByName { get; set; }
  49. [SugarColumn(ColumnName = "create_time")]
  50. public DateTime? CreateTime { get; set; }
  51. [SugarColumn(ColumnName = "update_time")]
  52. public DateTime? UpdateTime { get; set; }
  53. [SugarColumn(ColumnName = "tenant_id")]
  54. public long? TenantId { get; set; }
  55. [SugarColumn(ColumnName = "factory_id")]
  56. public long? FactoryId { get; set; }
  57. }