补充注释

This commit is contained in:
fuenmao
2026-08-24 15:32:50 +08:00
parent b8b2d7e3fa
commit 22a7df5bec
84 changed files with 5913 additions and 45 deletions
@@ -10,16 +10,50 @@
namespace SimpleAdmin.Application;
/// <summary>
/// 任务合同变量最终值快照,合同生成后不再读取模板实时值。
/// </summary>
[SugarTable("ob_task_contract_variable", TableDescription = "任务合同变量最终值快照")]
[Tenant(SqlSugarConst.DB_DEFAULT)]
public class ObTaskContractVariable : BaseEntity
{
/// <summary>
/// 所属任务合同 Id。
/// </summary>
public long TaskContractId { get; set; }
/// <summary>
/// DOCX 中使用的变量编码。
/// </summary>
public string VariableCode { get; set; }
/// <summary>
/// 变量显示名称。
/// </summary>
public string VariableName { get; set; }
/// <summary>
/// 变量来源类型,例如员工、公司、合同或系统。
/// </summary>
public string VariableType { get; set; }
/// <summary>
/// 变量数据类型。
/// </summary>
public string DataType { get; set; }
/// <summary>
/// 合同生成时使用的最终变量值。
/// </summary>
public string VariableValue { get; set; }
/// <summary>
/// 最终值来源类型。
/// </summary>
public string SourceType { get; set; }
/// <summary>
/// 是否由人事手工覆盖自动值。
/// </summary>
public bool IsManualOverride { get; set; }
}