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.

111 lines
3.1 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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("EXECUTE_PLANINFO", "AUCMA_SCADA")]
public class ExecutePlanInfo
{
/// <summary>
/// 主键标识
///</summary>
[SugarColumn(ColumnName = "OBJ_ID", IsPrimaryKey = true, IsIdentity = true, OracleSequenceName = "SEQ_EXECUTE_PLANINFO")]
public int ObjId { get; set; }
/// <summary>
/// 执行计划编号
/// </summary>
[SugarColumn(ColumnName = "EXECUTE_PLANCODE")]
public string ExecutePlanCode { get; set; }
/// <summary>
/// 生产计划编号
/// </summary>
[SugarColumn(ColumnName = "PRODUCT_PLANCODE")]
public string ProductPlanCode { get; set; }
/// <summary>
/// 工单编号
/// </summary>
[SugarColumn(ColumnName = "ORDER_CODE")]
public string OrderCode { 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 = "PRODUCTLINE_CODE")]
public string ProductLineCode { 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 = "EXECUTE_ORDER")]
public int ExecuteOrder { get; set; }
/// <summary>
/// 执行方式:1-手动2-自动
/// </summary>
[SugarColumn(ColumnName = "EXECUTE_METHOD")]
public int ExecuteMethod { get; set; }
/// <summary>
/// 执行状态1-待执行2-执行中3-完成
/// </summary>
[SugarColumn(ColumnName = "EXECUTE_STATUS")]
public int ExecuteStatus { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "CREATED_TIME")]
public DateTime? CreatedTime { get; set; }
}
}