namespace Admin.NET.Plugin.AiDOP.Order;
///
/// 鍚堝悓璇勫娴佺▼鑺傜偣琛紙ado_contract_review_flow锛?
/// 涓庝富琛ㄩ€氳繃 ReviewRecID锛堜富閿叧鑱旓級鍜?ReviewBillNo锛堜笟鍔$紪鍙峰叧鑱旓級鍙屽瓧娈靛叧鑱?
///
[SugarTable("ado_contract_review_flow", "鍚堝悓璇勫娴佺▼鑺傜偣")]
public class ContractReviewFlow
{
[SugarColumn(ColumnName = "RecID", IsPrimaryKey = true, IsIdentity = true)]
public int RecID { get; set; }
/// 鍏宠仈涓昏〃 RecID锛堜富閿叧鑱旓級
[SugarColumn(ColumnName = "ReviewRecID")]
public int ReviewRecID { get; set; }
/// 鍏宠仈涓昏〃 BillNo锛堜笟鍔$紪鍙峰叧鑱旓級
[SugarColumn(ColumnName = "ReviewBillNo", Length = 64)]
public string ReviewBillNo { get; set; } = string.Empty;
/// 瀹℃壒鐜妭缂栧彿锛?=鎰忚璇勫, 2=鎰忚鍙嶉, 3=浜屾璇勫, 4=棰嗗鎰忚, 5=鍚堝悓鐩栫珷锛?/summary>
[SugarColumn(ColumnName = "StageNo")]
public int StageNo { get; set; }
/// 瀹℃壒鐜妭鍚嶇О
[SugarColumn(ColumnName = "StageName", Length = 64, IsNullable = true)]
public string? StageName { get; set; }
/// 瀹℃壒閮ㄩ棬鍚嶇О
[SugarColumn(ColumnName = "Department", Length = 64, IsNullable = true)]
public string? Department { get; set; }
/// 瀹℃壒閮ㄩ棬缂栧彿
[SugarColumn(ColumnName = "DeptNo", Length = 64, IsNullable = true)]
public string? DeptNo { get; set; }
/// 鍚屼竴鐜妭鍐呯殑椤哄簭锛堟剰瑙佽瘎瀹$幆鑺傚叡4涓瓙鑺傜偣锛?/summary>
[SugarColumn(ColumnName = "Seq", IsNullable = true)]
public int? Seq { get; set; }
/// 瀹℃壒浜鸿处鍙?/summary>
[SugarColumn(ColumnName = "ReviewerAccount", Length = 64, IsNullable = true)]
public string? ReviewerAccount { get; set; }
/// 瀹℃壒浜哄鍚?/summary>
[SugarColumn(ColumnName = "ReviewerName", Length = 64, IsNullable = true)]
public string? ReviewerName { get; set; }
/// 瀹℃壒鎰忚
[SugarColumn(ColumnName = "Opinion", Length = 512, IsNullable = true)]
public string? Opinion { get; set; }
/// 鑺傜偣寮€濮嬫椂闂达紙杩涘叆瀹℃壒鏃惰褰曪級
[SugarColumn(ColumnName = "StartTime", IsNullable = true)]
public DateTime? StartTime { get; set; }
/// 鑺傜偣瀹屾垚鏃堕棿锛堝鎵瑰畬鎴?椹冲洖鏃惰褰曪級
[SugarColumn(ColumnName = "CompleteTime", IsNullable = true)]
public DateTime? CompleteTime { get; set; }
/// 瀹為檯澶勭悊澶╂暟锛圕ompleteTime - StartTime锛岃嚜鍔ㄨ绠楋級
[SugarColumn(ColumnName = "ActualDays", IsNullable = true)]
public decimal? ActualDays { get; set; }
/// 鑺傜偣鐘舵€侊細pending / reviewing / approved / rejected
[SugarColumn(ColumnName = "NodeStatus", Length = 32, IsNullable = true)]
public string? NodeStatus { get; set; }
/// 绉熸埛ID锛堝绉熸埛闅旂锛?/summary>
[SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
public long? TenantId { get; set; }
}