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

35 lines
1015 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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; }
}