using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace SlnMesnac.Repository
{
    ///<summary>
    ///执行计划
    ///</summary>
    [SugarTable("EXECUTE_PLANINFO"), TenantAttribute("mcs")]
    public partial class EXECUTE_PLANINFO
    {
           public EXECUTE_PLANINFO(){


           }
           /// <summary>
           /// Desc:主键标识
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public decimal OBJ_ID {get;set;}

           /// <summary>
           /// Desc:执行计划编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string EXECUTE_PLANCODE {get;set;}

           /// <summary>
           /// Desc:生产计划编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string PRODUCT_PLANCODE {get;set;}

           /// <summary>
           /// Desc:工单编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ORDER_CODE {get;set;}

           /// <summary>
           /// Desc:物料编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string MATERIAL_CODE {get;set;}

           /// <summary>
           /// Desc:物料名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string MATERIAL_NAME {get;set;}

           /// <summary>
           /// Desc:计划工位
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string PRODUCTLINE_CODE {get;set;}

           /// <summary>
           /// Desc:执行顺序
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? EXECUTE_ORDER {get;set;}

           /// <summary>
           /// Desc:执行方式:1-手动；2-自动
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? EXECUTE_METHOD {get;set;}

           /// <summary>
           /// Desc:执行状态：1-待执行；2-执行中；3-完成
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? EXECUTE_STATUS {get;set;}

           /// <summary>
           /// Desc:计划数量
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? PLAN_AMOUNT {get;set;}

           /// <summary>
           /// Desc:完成数量
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? COMPLETE_AMOUNT {get;set;}

           /// <summary>
           /// Desc:开始时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? BEGIN_TIME {get;set;}

           /// <summary>
           /// Desc:完成时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? END_TIME {get;set;}

           /// <summary>
           /// Desc:是否标识
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? IS_FLAG {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CREATED_TIME {get;set;}

           /// <summary>
           /// Desc:计划类型(1=联合下发;2=前板下发;3=后板下发)
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? PLAN_TYPE {get;set;}

           /// <summary>
           /// Desc:计划任务执行编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string TASK_CODE {get;set;}

    }
}
