|
|
using SqlSugar;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace Admin.Core.Model
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 库存任务实时处理
|
|
|
/// </summary>
|
|
|
[SugarTable("REAL_TASKINFO", "AUCMA_MES")]
|
|
|
public class RealTaskInfo
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 主键标识
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "OBJID", IsPrimaryKey = true, IsIdentity = true,OracleSequenceName = "SEQ_REAL_TASK_INFO")]
|
|
|
public int ObjId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务编号
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "TASK_CODE")]
|
|
|
public string TaskCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务类型:1-入库;2-出库
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "TASK_TYPE")]
|
|
|
public int TaskType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 任务状态:1-待执行;2-执行中;3-完成
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "TASK_STATUS")]
|
|
|
public int TaskStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 计划编号
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "PLAN_CODE")]
|
|
|
public string PlanCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 物料编号
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "MATERIAL_CODE")]
|
|
|
public string MaterialCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 物料类型
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "MATERIAL_Type")]
|
|
|
public string MaterialType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 货道编号
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "SPACE_CODE")]
|
|
|
public string SpaceCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 货道名称
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "SPACE_NAME")]
|
|
|
public string SpaceName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 计划数量
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "PLAN_AMOUNT")]
|
|
|
public int PlanAmount { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 完成数量
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "COMPLETE_AMOUNT")]
|
|
|
public int CompleteAmount { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 开始时间
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "BEGIN_TIME")]
|
|
|
public DateTime? BeginTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 结束时间
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "END_TIME")]
|
|
|
public DateTime? EndTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 是否标识
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "IS_FLAG")]
|
|
|
public int IsFlag { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 仓库编号
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "STORE_CODE")]
|
|
|
public string StoreCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 创建时间
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "CREATED_TIME")]
|
|
|
public DateTime? CreateTime { get; set; }
|
|
|
}
|
|
|
}
|