|
|
using System;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
namespace Admin.Core.Model
|
|
|
{
|
|
|
///<summary>
|
|
|
///生产计划
|
|
|
///</summary>
|
|
|
[SugarTable("RT_plan", "cwss_xl")]
|
|
|
public class RT_plan
|
|
|
{
|
|
|
public RT_plan()
|
|
|
{
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:False
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
|
public int Dosing_Id { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:False
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
|
public string Plan_Id { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:False
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
|
public string Equip_Code { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public int Plan_Serial { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string Recipe_ID { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string Recipe_Code { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string Recipe_Name { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string Version { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string Mixer_Line { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public int? Recipe_Type { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string Shift_Id { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string Shift_Class { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public int Plan_Num { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public int Real_Num { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public int? Duration_Time { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string Start_Date { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string End_Date { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string Weight_Man { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string Stock_Man { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string Plan_Batch { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public int Plan_State { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string Plan_StateText { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string Plan_Date { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:称量总重量
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public decimal Plan_TotalWeight { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:称量总误差
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public decimal Plan_TotalError { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:重传标识
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public int? IsRetransmission { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public int? Retransmission_Num { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public int? IF_FLAG { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string CylinderName { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string CylinderBarCode { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string PumpName { get; set; }
|
|
|
/// <summary>
|
|
|
/// Desc:
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
public string PumpBarCode { get; set; }
|
|
|
/// <summary>
|
|
|
/// 物料执行顺序——每执行一个+1,下一批次清空
|
|
|
/// </summary>
|
|
|
public int Exec_Num { get; set; }
|
|
|
}
|
|
|
} |