ContractReviewFlow.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. namespace Admin.NET.Plugin.AiDOP.Order;
  2. /// <summary>
  3. /// 鍚堝悓璇勫娴佺▼鑺傜偣琛紙ado_contract_review_flow锛?
  4. /// 涓庝富琛ㄩ€氳繃 ReviewRecID锛堜富閿叧鑱旓級鍜?ReviewBillNo锛堜笟鍔$紪鍙峰叧鑱旓級鍙屽瓧娈靛叧鑱?
  5. /// </summary>
  6. [SugarTable("ado_contract_review_flow", "鍚堝悓璇勫娴佺▼鑺傜偣")]
  7. public class ContractReviewFlow
  8. {
  9. [SugarColumn(ColumnName = "RecID", IsPrimaryKey = true, IsIdentity = true)]
  10. public int RecID { get; set; }
  11. /// <summary>鍏宠仈涓昏〃 RecID锛堜富閿叧鑱旓級</summary>
  12. [SugarColumn(ColumnName = "ReviewRecID")]
  13. public int ReviewRecID { get; set; }
  14. /// <summary>鍏宠仈涓昏〃 BillNo锛堜笟鍔$紪鍙峰叧鑱旓級</summary>
  15. [SugarColumn(ColumnName = "ReviewBillNo", Length = 64)]
  16. public string ReviewBillNo { get; set; } = string.Empty;
  17. /// <summary>瀹℃壒鐜妭缂栧彿锛?=鎰忚璇勫, 2=鎰忚鍙嶉, 3=浜屾璇勫, 4=棰嗗鎰忚, 5=鍚堝悓鐩栫珷锛?/summary>
  18. [SugarColumn(ColumnName = "StageNo")]
  19. public int StageNo { get; set; }
  20. /// <summary>瀹℃壒鐜妭鍚嶇О</summary>
  21. [SugarColumn(ColumnName = "StageName", Length = 64, IsNullable = true)]
  22. public string? StageName { get; set; }
  23. /// <summary>瀹℃壒閮ㄩ棬鍚嶇О</summary>
  24. [SugarColumn(ColumnName = "Department", Length = 64, IsNullable = true)]
  25. public string? Department { get; set; }
  26. /// <summary>瀹℃壒閮ㄩ棬缂栧彿</summary>
  27. [SugarColumn(ColumnName = "DeptNo", Length = 64, IsNullable = true)]
  28. public string? DeptNo { get; set; }
  29. /// <summary>鍚屼竴鐜妭鍐呯殑椤哄簭锛堟剰瑙佽瘎瀹$幆鑺傚叡4涓瓙鑺傜偣锛?/summary>
  30. [SugarColumn(ColumnName = "Seq", IsNullable = true)]
  31. public int? Seq { get; set; }
  32. /// <summary>瀹℃壒浜鸿处鍙?/summary>
  33. [SugarColumn(ColumnName = "ReviewerAccount", Length = 64, IsNullable = true)]
  34. public string? ReviewerAccount { get; set; }
  35. /// <summary>瀹℃壒浜哄鍚?/summary>
  36. [SugarColumn(ColumnName = "ReviewerName", Length = 64, IsNullable = true)]
  37. public string? ReviewerName { get; set; }
  38. /// <summary>瀹℃壒鎰忚</summary>
  39. [SugarColumn(ColumnName = "Opinion", Length = 512, IsNullable = true)]
  40. public string? Opinion { get; set; }
  41. /// <summary>鑺傜偣寮€濮嬫椂闂达紙杩涘叆瀹℃壒鏃惰褰曪級</summary>
  42. [SugarColumn(ColumnName = "StartTime", IsNullable = true)]
  43. public DateTime? StartTime { get; set; }
  44. /// <summary>鑺傜偣瀹屾垚鏃堕棿锛堝鎵瑰畬鎴?椹冲洖鏃惰褰曪級</summary>
  45. [SugarColumn(ColumnName = "CompleteTime", IsNullable = true)]
  46. public DateTime? CompleteTime { get; set; }
  47. /// <summary>瀹為檯澶勭悊澶╂暟锛圕ompleteTime - StartTime锛岃嚜鍔ㄨ绠楋級</summary>
  48. [SugarColumn(ColumnName = "ActualDays", IsNullable = true)]
  49. public decimal? ActualDays { get; set; }
  50. /// <summary>鑺傜偣鐘舵€侊細pending / reviewing / approved / rejected</summary>
  51. [SugarColumn(ColumnName = "NodeStatus", Length = 32, IsNullable = true)]
  52. public string? NodeStatus { get; set; }
  53. /// <summary>绉熸埛ID锛堝绉熸埛闅旂锛?/summary>
  54. [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
  55. public long? TenantId { get; set; }
  56. }