using NPOI.Util;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Admin.Core.Model.Model_New
{
///
/// 钣金任务计划表
///
[SugarTable("SM_TASKEXECUTION", "AUCMA_SCADA")]
public class SmTaskExecution
{
///
/// 主键
///
[SugarColumn(ColumnName = "OBJ_ID", IsIdentity = true, IsPrimaryKey = true)]
public int ObjId { get; set; }
///
/// 工单编号
///
[SugarColumn(ColumnName = "ORDER_CODE")]
public string OrderCode { get; set; }
///
/// 计划编号
///
[SugarColumn(ColumnName = "PLAN_CODE")]
public string PlanCode { get; set; }
///
/// 物料编号
///
[SugarColumn(ColumnName = "MATERIAL_CODE")]
public string MaterialCode { get; set; }
///
/// 物料名称
///
[SugarColumn(ColumnName = "MATERIAL_NAME")]
public string MaterialName { get; set; }
///
/// 任务执行数量
///
[SugarColumn(ColumnName = "TASK_AMOUNT")]
public int TaskAmount { get; set; }
///
/// 完成数量
///
[SugarColumn(ColumnName = "COMPLETE_AMOUNT")]
public int CompleteAmount { get; set; }
///
/// 前板数量
///
[SugarColumn(ColumnName = "FRONTPLATE_AMOUNT")]
public int FrontPlateAmount { get; set; }
///
/// 后板数量
///
[SugarColumn(ColumnName = "REARPANEL_AMOUNT")]
public int RearPanelAmount { get; set; }
///
/// 开始时间
///
[SugarColumn(ColumnName = "START_TIME")]
public DateTime StartTime { get; set; }
///
/// 执行顺序
///
[SugarColumn(ColumnName = "TASK_SORT")]
public int TaskSort { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "CREATE_TIME")]
public DateTime CreateTime { get; set; }
///
/// 是否执行中:1-执行,2-完成
///
[SugarColumn(ColumnName = "IS_EXEC")]
public int IsExec { get; set; }
///
/// 任务类型
///
[SugarColumn(ColumnName = "PLAN_TYPE")]
public int PlanType{ get; set; }
///
/// 计划任务执行编号
///
[SugarColumn(ColumnName = "TASK_CODE")]
public string TaskCode { get; set; }
}
}