业务任务交互表增加主键

usertest
嵇文龙 4 months ago
parent 6d49b37b1f
commit 25e3235de3

@ -17,6 +17,9 @@ public class FlowInstance : BaseTenantModel<long>
[Description("业务Id")]
public long BusinessId { get; set; }
/// <summary>
/// 业务类型
/// </summary>
[Description("业务类型")]
public BusinessType? BusinessType { get; set; }

@ -9,22 +9,28 @@ namespace DS.WMS.Core.Op.Entity.TaskInteraction
[SugarTable("business_task", "业务任务交互表")]
public class BusinessTask
{
/// <summary>
/// ID
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
public long Id { get; set; }
/// <summary>
/// 业务ID
/// </summary>
[SugarColumn(ColumnDescription = "业务ID", IsPrimaryKey = true, IsNullable = false)]
[SugarColumn(ColumnDescription = "业务ID", IsNullable = false)]
public long BusinessId { get; set; }
/// <summary>
/// 业务类型
/// </summary>
[SugarColumn(ColumnDescription = "业务类型", IsPrimaryKey = true, IsNullable = false)]
[SugarColumn(ColumnDescription = "业务类型", IsNullable = false)]
public BusinessType BusinessType { get; set; }
/// <summary>
/// 任务类型
/// </summary>
[SugarColumn(ColumnDescription = "任务类型", IsPrimaryKey = true, IsNullable = false)]
[SugarColumn(ColumnDescription = "任务类型", IsNullable = false)]
public TaskBaseTypeEnum TaskType { get; set; }
/// <summary>
@ -40,9 +46,9 @@ namespace DS.WMS.Core.Op.Entity.TaskInteraction
public TaskBaseTypeEnum? NextType { get; set; }
/// <summary>
/// 当前工作流ID
/// 工作流ID
/// </summary>
[SugarColumn(ColumnDescription = "当前工作流ID", IsNullable = true)]
[SugarColumn(ColumnDescription = "工作流ID", IsNullable = true)]
public long? FlowId { get; set; }
/// <summary>

Loading…
Cancel
Save