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.

86 lines
3.3 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.TaskPlat.Entity
{
/// <summary>
/// 任务编排模块表
///</summary>
[SugarTable("task_flow_module", "任务编排模块表")]
public class TaskFlowModule : BaseModelV2<long>
{
/// <summary>
/// 模块名称
/// </summary>
[SugarColumn(ColumnDescription = "模块名称", IsNullable = true, Length = 64)]
public string? Name { get; set; }
/// <summary>
/// 所属任务类型
/// </summary>
[SugarColumn(ColumnDescription = "所属任务类型", IsNullable = true, Length = 255)]
public string? TaskType { get; set; }
/// <summary>
/// 模块类型 1=任务编排执行模块 2=工作流配置模块
/// </summary>
[SugarColumn(ColumnDescription = "模块类型 1=任务编排执行模块 2=工作流配置模块", IsNullable = false)]
public int ModuleType { get; set; }
/// <summary>
/// Assembly名称
/// </summary>
[SugarColumn(ColumnDescription = "Assembly名称", IsNullable = true, Length = 255)]
public string? AssemblyName { get; set; }
/// <summary>
/// Interface名称
/// </summary>
[SugarColumn(ColumnDescription = "Interface名称", IsNullable = true, Length = 255)]
public string? InterfaceName { get; set; }
/// <summary>
/// Method名称
/// </summary>
[SugarColumn(ColumnDescription = "Method名称", IsNullable = true, Length = 255)]
public string? MethodName { get; set; }
///// <summary>
///// 完成后对应的业务状态编码
///// </summary>
//[SugarColumn(ColumnDescription = "完成后对应的业务状态编码", IsNullable = true, Length = 255)]
//public string? BusinessStatusCode { get; set; }
///// <summary>
///// 完成后对应的业务状态名称
///// </summary>
//[SugarColumn(ColumnDescription = "完成后对应的业务状态名称", IsNullable = true, Length = 255)]
//public string? BusinessStatusName { get; set; }
/// <summary>
/// 任务创建后对应的业务状态编码
/// </summary>
[SugarColumn(ColumnDescription = "任务创建后对应的业务状态编码", IsNullable = true, Length = 50)]
public string? CreatedBusinessStatusCode { get; set; }
/// <summary>
/// 任务创建后对应的业务状态名称
/// </summary>
[SugarColumn(ColumnDescription = "任务创建后对应的业务状态名称", IsNullable = true, Length = 50)]
public string? CreatedBusinessStatusName { get; set; }
/// <summary>
/// 任务完成后对应的业务状态编码
/// </summary>
[SugarColumn(ColumnDescription = "任务完成后对应的业务状态编码", IsNullable = true, Length = 50)]
public string? CompletedBusinessStatusCode { get; set; }
/// <summary>
/// 任务完成后对应的业务状态名称
/// </summary>
[SugarColumn(ColumnDescription = "任务完成后对应的业务状态名称", IsNullable = true, Length = 50)]
public string? CompletedBusinessStatusName { get; set; }
}
}