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