补充注释

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,21 +10,75 @@
namespace SimpleAdmin.Application;
/// <summary>
/// 合同模板变量定义,描述 DOCX 占位符、来源类型及填写规则。
/// </summary>
[SugarTable("ob_template_variable", TableDescription = "合同模板变量定义")]
[Tenant(SqlSugarConst.DB_DEFAULT)]
public class ObTemplateVariable : BaseEntity
{
/// <summary>
/// 合同模板版本 Id。
/// </summary>
public long TemplateVersionId { 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 EmployeeField { get; set; }
/// <summary>
/// 变量默认值。
/// </summary>
public string DefaultValue { get; set; }
/// <summary>
/// 选择型字段或变量的可选项 JSON。
/// </summary>
public string OptionsJson { get; set; }
/// <summary>
/// 变量格式化规则。
/// </summary>
public string FormatRule { get; set; }
/// <summary>
/// 是否必填、必传或必签。
/// </summary>
public bool Required { get; set; }
/// <summary>
/// 人事是否可在创建任务后手工填写或调整。
/// </summary>
public bool HrEditable { get; set; }
/// <summary>
/// 显示排序码。
/// </summary>
public int? SortCode { get; set; }
/// <summary>
/// 业务备注。
/// </summary>
public string Remark { get; set; }
}