identificationOfCultivatedL.../OpenAuth.Repository/Domain/workflow/ZyFlowVariable.cs

35 lines
1015 B
C#
Raw Normal View History

2026-02-05 09:08:32 +08:00
namespace OpenAuth.Repository.Domain.workflow;
using SqlSugar;
using System;
/// <summary>
/// 流程变量表zy_flow_variable
/// </summary>
[SugarTable("zy_flow_variable")]
public class ZyFlowVariable
{
/// <summary>
/// 变量ID主键自增
/// </summary>
[SugarColumn(ColumnName = "var_id", IsPrimaryKey = true, IsIdentity = true, IsNullable = false)]
public long VarId { get; set; }
/// <summary>
/// 流程实例ID外键关联zy_flow_instance
/// </summary>
[SugarColumn(ColumnName = "instance_id", IsNullable = false)]
public long InstanceId { get; set; }
/// <summary>
/// 变量键与instance_id联合唯一
/// </summary>
[SugarColumn(ColumnName = "var_key", IsNullable = false)]
public string VarKey { get; set; } = string.Empty;
/// <summary>
/// 变量值(文本类型)
/// </summary>
[SugarColumn(ColumnName = "var_value", IsNullable = true)]
public string? VarValue { get; set; }
}