SeOrderChange.cs 2.5 KB

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