using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Admin.Core.Model
{
///
/// 计划执行表
///
[SugarTable("EXECUTE_PLANINFO", "AUCMA_SCADA")]
public class ExecutePlanInfo
{
///
/// 主键标识
///
[SugarColumn(ColumnName = "OBJ_ID", IsPrimaryKey = true, IsIdentity = true, OracleSequenceName = "SEQ_EXECUTE_PLANINFO")]
public int ObjId { get; set; }
///
/// 执行计划编号
///
[SugarColumn(ColumnName = "EXECUTE_PLANCODE")]
public string ExecutePlanCode { get; set; }
///
/// 生产计划编号
///
[SugarColumn(ColumnName = "PRODUCT_PLANCODE")]
public string ProductPlanCode { get; set; }
///
/// 工单编号
///
[SugarColumn(ColumnName = "ORDER_CODE")]
public string OrderCode { get; set; }
///
/// 物料编码
///
[SugarColumn(ColumnName = "MATERIAL_CODE")]
public string MaterialCode { get; set; }
///
/// 物料名称
///
[SugarColumn(ColumnName = "MATERIAL_NAME")]
public string MaterialName { get; set; }
///
/// 产线/工位
///
[SugarColumn(ColumnName = "PRODUCTLINE_CODE")]
public string ProductLineCode { 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 = "EXECUTE_ORDER")]
public int ExecuteOrder { get; set; }
///
/// 执行方式:1-手动;2-自动
///
[SugarColumn(ColumnName = "EXECUTE_METHOD")]
public int ExecuteMethod { get; set; }
///
/// 执行状态:1-待执行;2-执行中;3-完成
///
[SugarColumn(ColumnName = "EXECUTE_STATUS")]
public int ExecuteStatus { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "CREATED_TIME")]
public DateTime? CreatedTime { get; set; }
}
}