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.

197 lines
5.2 KiB
C#

using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace Admin.Core.Model
{
///<summary>
///生产计划
///</summary>
[SugarTable("xl_plan", "cwss_xl")]
public class xl_plan
{
public xl_plan()
{
}
/// <summary>
/// Desc:主键
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
public int Dosing_Id { get; set; }
/// <summary>
/// Desc:计划Id
/// 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; }
public string Batch { get; set; }
/// <summary>
/// Desc:配方GUID
/// Default:
/// Nullable:True
/// </summary>
public string Recipe_ID { get; set; }
/// <summary>
/// Desc:配方ID
/// 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:班次ID
/// Default:
/// Nullable:True
/// </summary>
public string Shift_Id { get; set; }
/// <summary>
/// Desc:班组ID
/// 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 decimal Plan_TotalWeight { get; set; }
/// <summary>
/// Desc:合计误差
/// Default:
/// Nullable:True
/// </summary>
public decimal Plan_TotalError { 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>
/// 产品名称
/// </summary>
public string ProductName { 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:MES计划变更标志位
/// Default:
/// Nullable:True
/// </summary>
public int IF_FLAG { get; set; }
/// <summary>
/// Desc:是否重传
/// Default:
/// Nullable:True
/// </summary>
public int IsRetransmission { get; set; }
/// <summary>
/// Desc:重传次数
/// Default:0
/// Nullable:True
/// </summary>
public int Retransmission_Num { get; set; }
}
}