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.

122 lines
3.4 KiB
C#

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; }
1 year ago
/// <summary>
/// 任务形式0-自动1-手动
/// </summary>
[SugarColumn(ColumnName = "TASK_MODEL")]
public int TaskModel { 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; }
/// <summary>
/// 箱体型号310 ,287这种泡前库下发plc使用
/// </summary>
[SugarColumn(ColumnName = "BOX_TYPE")]
public string BoxType { get; set; }
}
}