namespace Admin.NET.Plugin.AiDOP.Order;
///
/// 鍚堝悓璇勫涓昏〃锛坅do_contract_review锛?
///
[SugarTable("ado_contract_review", "鍚堝悓璇勫涓昏〃")]
public class ContractReview
{
[SugarColumn(ColumnName = "RecID", IsPrimaryKey = true, IsIdentity = true)]
public int RecID { get; set; }
/// 鍗曟嵁缂栧彿锛堜笟鍔′富閿紝鏍煎紡 CRyyyyMMxxxx锛?/summary>
[SugarColumn(ColumnName = "BillNo", Length = 64)]
public string BillNo { get; set; } = string.Empty;
/// 鍚堝悓鏍囬
[SugarColumn(ColumnName = "Title", Length = 256, IsNullable = true)]
public string? Title { get; set; }
/// 瀹㈡埛鍚嶇О
[SugarColumn(ColumnName = "CustomerName", Length = 128, IsNullable = true)]
public string? CustomerName { get; set; }
/// 瀹㈡埛缂栧彿
[SugarColumn(ColumnName = "CustomerNo", Length = 64, IsNullable = true)]
public string? CustomerNo { get; set; }
/// 閿€鍞叕鍙?/summary>
[SugarColumn(ColumnName = "SalesCompany", Length = 64, IsNullable = true)]
public string? SalesCompany { get; set; }
/// 閿€鍞尯鍩?/summary>
[SugarColumn(ColumnName = "SalesArea", Length = 64, IsNullable = true)]
public string? SalesArea { get; set; }
/// 椤圭洰缂栧彿
[SugarColumn(ColumnName = "ProjectCode", Length = 64, IsNullable = true)]
public string? ProjectCode { get; set; }
/// CRM鏈轰細缂栧彿
[SugarColumn(ColumnName = "CrmNo", Length = 64, IsNullable = true)]
public string? CrmNo { get; set; }
/// 璐熻矗浜鸿处鍙?/summary>
[SugarColumn(ColumnName = "ResponsibleAccount", Length = 64, IsNullable = true)]
public string? ResponsibleAccount { get; set; }
/// 璐熻矗浜哄鍚?/summary>
[SugarColumn(ColumnName = "ResponsibleName", Length = 64, IsNullable = true)]
public string? ResponsibleName { get; set; }
/// 椤圭洰寮€濮嬫棩鏈?/summary>
[SugarColumn(ColumnName = "ProjectStartDate", IsNullable = true)]
public DateTime? ProjectStartDate { get; set; }
/// 褰撳墠瀹℃壒闃舵锛?=鑽夌, 1~5=鍚勭幆鑺傦級
[SugarColumn(ColumnName = "CurrentStage", IsNullable = true)]
public int? CurrentStage { get; set; }
/// 褰撳墠瀹℃壒閮ㄩ棬
[SugarColumn(ColumnName = "CurrentDept", Length = 64, IsNullable = true)]
public string? CurrentDept { get; set; }
/// 椤圭洰瀛靛寲鐘舵€?/summary>
[SugarColumn(ColumnName = "ProjectStatus", Length = 64, IsNullable = true)]
public string? ProjectStatus { get; set; }
/// 椤圭洰鎴愬崟姒傜巼
[SugarColumn(ColumnName = "WinRate", Length = 32, IsNullable = true)]
public string? WinRate { get; set; }
/// 棰勮杩涘崟鏈堜唤
[SugarColumn(ColumnName = "ExpectedOrderMonth", IsNullable = true)]
public DateTime? ExpectedOrderMonth { get; set; }
/// 棰勮鍙戣揣鏃ユ湡
[SugarColumn(ColumnName = "ExpectedDeliveryDate", IsNullable = true)]
public DateTime? ExpectedDeliveryDate { get; set; }
/// 椤圭洰闇€姹傝鏄?/summary>
[SugarColumn(ColumnName = "ProjectRequirement", Length = 1024, IsNullable = true)]
public string? ProjectRequirement { get; set; }
/// 澶囨敞
[SugarColumn(ColumnName = "Remark", Length = 512, IsNullable = true)]
public string? Remark { get; set; }
/// 娴佺▼鐘舵€侊細draft/reviewing/completed/rejected
[SugarColumn(ColumnName = "FlowStatus", Length = 32, IsNullable = true)]
public string? FlowStatus { get; set; }
[SugarColumn(ColumnName = "CreateUser", Length = 64, IsNullable = true)]
public string? CreateUser { get; set; }
[SugarColumn(ColumnName = "CreateTime", IsNullable = true)]
public DateTime? CreateTime { get; set; }
[SugarColumn(ColumnName = "UpdateUser", Length = 64, IsNullable = true)]
public string? UpdateUser { get; set; }
[SugarColumn(ColumnName = "UpdateTime", IsNullable = true)]
public DateTime? UpdateTime { get; set; }
[SugarColumn(ColumnName = "IsActive", IsNullable = true)]
public int? IsActive { get; set; }
/// 绉熸埛ID锛堝绉熸埛闅旂锛?/summary>
[SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
public long? TenantId { get; set; }
}