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.
67 lines
1.9 KiB
C#
67 lines
1.9 KiB
C#
using DS.Module.Core;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.Core.Op.Entity.TaskInteraction
|
|
{
|
|
/// <summary>
|
|
/// 业务任务交互表
|
|
/// </summary>
|
|
[SugarTable("business_task", "业务任务交互表")]
|
|
public class BusinessTask
|
|
{
|
|
/// <summary>
|
|
/// ID
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 业务ID
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "业务ID", IsNullable = false)]
|
|
public long BusinessId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 业务类型
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "业务类型", IsNullable = false)]
|
|
public BusinessType BusinessType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务类型
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "任务类型", IsNullable = false)]
|
|
public TaskBaseTypeEnum TaskType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务状态
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "任务状态", IsNullable = false)]
|
|
public TaskStatusEnum TaskStatus { get; set; }
|
|
|
|
/// <summary>
|
|
/// 下一任务类型
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "下一任务类型", IsNullable = true)]
|
|
public TaskBaseTypeEnum? NextType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工作流ID
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "工作流ID", IsNullable = true)]
|
|
public long? FlowId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建人
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "创建人", IsNullable = false)]
|
|
public long CreateBy { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "创建时间", IsNullable = false)]
|
|
public DateTime CreateTime { get; set; }
|
|
}
|
|
}
|