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.

185 lines
4.5 KiB
C#

#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2026 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.Wcs.Model.Domain
* 814EEFF5-9B71-42F2-B2EA-CE33BB34E477
*
* WenJY
*
* 2026-05-07 10:04:13
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using SqlSugar;
namespace Sln.Wcs.Model.Domain;
/// <summary>
/// 实时任务队列
/// </summary>
[SugarTable("live_task_queue"), TenantAttribute("core")]
public class LiveTaskQueue
{
/// <summary>
/// Desc:主键标识
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "obj_id")]
public int objId { get; set; }
/// <summary>
/// Desc:任务编号
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "task_code")]
public string taskCode { get; set; }
/// <summary>
/// Desc:物料编号
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "material_code")]
public string materialCode { get; set; }
/// <summary>
/// Desc:托盘条码
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "pallet_barcode")]
public string palletBarcode { get; set; }
/// <summary>
/// Desc:物料条码
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "material_barcode")]
public string materialBarcode { get; set; }
/// <summary>
/// Desc:物料数量
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "material_count")]
public int? materialCount { get; set; }
/// <summary>
/// Desc:任务类型:1-入库;2-出库;
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "task_type")]
public int? taskType { get; set; }
/// <summary>
/// Desc:任务类别1-包材;2-成品;3-托盘
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "task_category")]
public int? taskCategory { get; set; }
/// <summary>
/// Desc:起始位置
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "start_point")]
public string startPoint { get; set; }
/// <summary>
/// Desc:结束位置
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "end_point")]
public string endPoint { get; set; }
/// <summary>
/// Desc:任务状态1-待执行;2-执行中;3-已完成;
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "task_status")]
public int? taskStatus { get; set; }
/// <summary>
/// Desc:任务步骤:根据路径
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "task_steps")]
public int? taskSteps { get; set; }
/// <summary>
/// Desc:是否标识1-是0-否
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "is_flag")]
public int? isFlag { get; set; }
/// <summary>
/// Desc:备注
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "remark")]
public string remark { get; set; }
/// <summary>
/// Desc:创建人
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "created_by")]
public string createdBy { get; set; }
/// <summary>
/// Desc:创建时间
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "created_time")]
public DateTime? createdTime { get; set; }
/// <summary>
/// Desc:更新人
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "updated_by")]
public string updatedBy { get; set; }
/// <summary>
/// Desc:更新时间
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "updated_time")]
public DateTime? updatedTime { get; set; }
/// <summary>
/// 明细集合
/// </summary>
[SugarColumn(IsIgnore = true)]
public List<LiveTaskDetail> taskDetails { get; set; }
}