You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
using System.ComponentModel ;
using DS.Module.Core ;
using DS.Module.Core.Data ;
using SqlSugar ;
namespace DS.WMS.Core.Flow.Entity ;
/// <summary>
/// 工作流实例
/// </summary>
[SqlSugar.SugarTable("sys_flow_instance")]
public class FlowInstance : BaseTenantModel < long >
{
/// <summary>
/// 业务Id
/// </summary>
[Description("业务Id")]
public long BusinessId { get ; set ; }
/// <summary>
/// 模板Id
/// </summary>
[Description("模板Id")]
public long? TemplateId { get ; set ; }
/// <summary>
/// 客户自定义名称
/// </summary>
[Description("客户自定义名称")]
public string CustomName { get ; set ; }
/// <summary>
/// 模块Id
/// </summary>
[Description("模块Id")]
public long PermissionId { get ; set ; }
/// <summary>
/// 当前节点ID
/// </summary>
[Description("当前节点ID")]
public string ActivityId { get ; set ; } = "" ;
/// <summary>
/// 当前节点类型( 0会签节点)
/// </summary>
[Description("当前节点类型( 0会签节点) ")]
public int? ActivityType { get ; set ; }
/// <summary>
/// 当前节点名称
/// </summary>
[Description("当前节点名称")]
public string ActivityName { get ; set ; }
/// <summary>
/// 前一个ID
/// </summary>
[Description("前一个ID")]
public string PreviousId { get ; set ; }
/// <summary>
/// 执行人
/// </summary>
[Description("执行人")]
public string MakerList { get ; set ; }
/// <summary>
/// 工作流状态
/// </summary>
[Description("工作流状态")]
public int FlowStatus { get ; set ; } = FlowStatusEnum . Ready . ToEnumInt ( ) ;
/// <summary>
/// 中文视图名;设计方案时,提供中文字段的视图来源
/// </summary>
[Description("中文视图名;设计方案时,提供中文字段的视图来源")]
public string ColumnView { get ; set ; }
/// <summary>
/// 流程内容
/// </summary>
[SugarColumn(ColumnDescription = "流程内容", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string Content { get ; set ; }
/// <summary>
/// 回调地址
/// </summary>
[SugarColumn(ColumnDescription = "回调地址", IsNullable = true, Length = 255)]
public string CallbackURL { get ; set ; }
}