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.

99 lines
2.9 KiB
C#

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
{
/// <summary>
/// 钣金任务计划表
/// </summary>
[SugarTable("SM_TASKEXECUTION", "AUCMA_SCADA")]
public class SmTaskExecution
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(ColumnName = "OBJ_ID", IsIdentity = true, IsPrimaryKey = true)]
public int ObjId { get; set; }
/// <summary>
/// 工单编号
/// </summary>
[SugarColumn(ColumnName = "ORDER_CODE")]
public string OrderCode { 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_NAME")]
public string MaterialName { get; set; }
/// <summary>
/// 任务执行数量
/// </summary>
[SugarColumn(ColumnName = "TASK_AMOUNT")]
public int TaskAmount { get; set; }
/// <summary>
/// 完成数量
/// </summary>
[SugarColumn(ColumnName = "COMPLETE_AMOUNT")]
public int CompleteAmount { get; set; }
/// <summary>
/// 前板数量
/// </summary>
[SugarColumn(ColumnName = "FRONTPLATE_AMOUNT")]
public int FrontPlateAmount { get; set; }
/// <summary>
/// 后板数量
/// </summary>
[SugarColumn(ColumnName = "REARPANEL_AMOUNT")]
public int RearPanelAmount { get; set; }
/// <summary>
/// 开始时间
/// </summary>
[SugarColumn(ColumnName = "START_TIME")]
public DateTime StartTime { get; set; }
/// <summary>
/// 执行顺序
/// </summary>
[SugarColumn(ColumnName = "TASK_SORT")]
public int TaskSort { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "CREATE_TIME")]
public DateTime CreateTime { get; set; }
/// <summary>
/// 是否执行中:1-执行2-完成
/// </summary>
[SugarColumn(ColumnName = "IS_EXEC")]
public int IsExec { get; set; }
/// <summary>
/// 任务类型
/// </summary>
[SugarColumn(ColumnName = "PLAN_TYPE")]
public int PlanType{ get; set; }
/// <summary>
/// 计划任务执行编号
/// </summary>
[SugarColumn(ColumnName = "TASK_CODE")]
public string TaskCode { get; set; }
}
}