ContractReview.cs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. namespace Admin.NET.Plugin.AiDOP.Order;
  2. /// <summary>
  3. /// 鍚堝悓璇勫涓昏〃锛坅do_contract_review锛?
  4. /// </summary>
  5. [SugarTable("ado_contract_review", "鍚堝悓璇勫涓昏〃")]
  6. public class ContractReview
  7. {
  8. [SugarColumn(ColumnName = "RecID", IsPrimaryKey = true, IsIdentity = true)]
  9. public int RecID { get; set; }
  10. /// <summary>鍗曟嵁缂栧彿锛堜笟鍔′富閿紝鏍煎紡 CRyyyyMMxxxx锛?/summary>
  11. [SugarColumn(ColumnName = "BillNo", Length = 64)]
  12. public string BillNo { get; set; } = string.Empty;
  13. /// <summary>鍚堝悓鏍囬</summary>
  14. [SugarColumn(ColumnName = "Title", Length = 256, IsNullable = true)]
  15. public string? Title { get; set; }
  16. /// <summary>瀹㈡埛鍚嶇О</summary>
  17. [SugarColumn(ColumnName = "CustomerName", Length = 128, IsNullable = true)]
  18. public string? CustomerName { get; set; }
  19. /// <summary>瀹㈡埛缂栧彿</summary>
  20. [SugarColumn(ColumnName = "CustomerNo", Length = 64, IsNullable = true)]
  21. public string? CustomerNo { get; set; }
  22. /// <summary>閿€鍞叕鍙?/summary>
  23. [SugarColumn(ColumnName = "SalesCompany", Length = 64, IsNullable = true)]
  24. public string? SalesCompany { get; set; }
  25. /// <summary>閿€鍞尯鍩?/summary>
  26. [SugarColumn(ColumnName = "SalesArea", Length = 64, IsNullable = true)]
  27. public string? SalesArea { get; set; }
  28. /// <summary>椤圭洰缂栧彿</summary>
  29. [SugarColumn(ColumnName = "ProjectCode", Length = 64, IsNullable = true)]
  30. public string? ProjectCode { get; set; }
  31. /// <summary>CRM鏈轰細缂栧彿</summary>
  32. [SugarColumn(ColumnName = "CrmNo", Length = 64, IsNullable = true)]
  33. public string? CrmNo { get; set; }
  34. /// <summary>璐熻矗浜鸿处鍙?/summary>
  35. [SugarColumn(ColumnName = "ResponsibleAccount", Length = 64, IsNullable = true)]
  36. public string? ResponsibleAccount { get; set; }
  37. /// <summary>璐熻矗浜哄鍚?/summary>
  38. [SugarColumn(ColumnName = "ResponsibleName", Length = 64, IsNullable = true)]
  39. public string? ResponsibleName { get; set; }
  40. /// <summary>椤圭洰寮€濮嬫棩鏈?/summary>
  41. [SugarColumn(ColumnName = "ProjectStartDate", IsNullable = true)]
  42. public DateTime? ProjectStartDate { get; set; }
  43. /// <summary>褰撳墠瀹℃壒闃舵锛?=鑽夌, 1~5=鍚勭幆鑺傦級</summary>
  44. [SugarColumn(ColumnName = "CurrentStage", IsNullable = true)]
  45. public int? CurrentStage { get; set; }
  46. /// <summary>褰撳墠瀹℃壒閮ㄩ棬</summary>
  47. [SugarColumn(ColumnName = "CurrentDept", Length = 64, IsNullable = true)]
  48. public string? CurrentDept { get; set; }
  49. /// <summary>椤圭洰瀛靛寲鐘舵€?/summary>
  50. [SugarColumn(ColumnName = "ProjectStatus", Length = 64, IsNullable = true)]
  51. public string? ProjectStatus { get; set; }
  52. /// <summary>椤圭洰鎴愬崟姒傜巼</summary>
  53. [SugarColumn(ColumnName = "WinRate", Length = 32, IsNullable = true)]
  54. public string? WinRate { get; set; }
  55. /// <summary>棰勮杩涘崟鏈堜唤</summary>
  56. [SugarColumn(ColumnName = "ExpectedOrderMonth", IsNullable = true)]
  57. public DateTime? ExpectedOrderMonth { get; set; }
  58. /// <summary>棰勮鍙戣揣鏃ユ湡</summary>
  59. [SugarColumn(ColumnName = "ExpectedDeliveryDate", IsNullable = true)]
  60. public DateTime? ExpectedDeliveryDate { get; set; }
  61. /// <summary>椤圭洰闇€姹傝鏄?/summary>
  62. [SugarColumn(ColumnName = "ProjectRequirement", Length = 1024, IsNullable = true)]
  63. public string? ProjectRequirement { get; set; }
  64. /// <summary>澶囨敞</summary>
  65. [SugarColumn(ColumnName = "Remark", Length = 512, IsNullable = true)]
  66. public string? Remark { get; set; }
  67. /// <summary>娴佺▼鐘舵€侊細draft/reviewing/completed/rejected</summary>
  68. [SugarColumn(ColumnName = "FlowStatus", Length = 32, IsNullable = true)]
  69. public string? FlowStatus { get; set; }
  70. [SugarColumn(ColumnName = "CreateUser", Length = 64, IsNullable = true)]
  71. public string? CreateUser { get; set; }
  72. [SugarColumn(ColumnName = "CreateTime", IsNullable = true)]
  73. public DateTime? CreateTime { get; set; }
  74. [SugarColumn(ColumnName = "UpdateUser", Length = 64, IsNullable = true)]
  75. public string? UpdateUser { get; set; }
  76. [SugarColumn(ColumnName = "UpdateTime", IsNullable = true)]
  77. public DateTime? UpdateTime { get; set; }
  78. [SugarColumn(ColumnName = "IsActive", IsNullable = true)]
  79. public int? IsActive { get; set; }
  80. /// <summary>绉熸埛ID锛堝绉熸埛闅旂锛?/summary>
  81. [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
  82. public long? TenantId { get; set; }
  83. }