using System; using System.Linq; using System.Text; using SqlSugar; namespace Admin.Core.Model { /// ///生产计划 /// [SugarTable("xl_plan", "cwss_xl")] public class xl_plan { public xl_plan() { } /// /// Desc:主键 /// Default: /// Nullable:False /// [SugarColumn(IsPrimaryKey = true)] public int Dosing_Id { get; set; } /// /// Desc:计划Id /// Default: /// Nullable:False /// [SugarColumn(IsPrimaryKey = true)] public string Plan_Id { get; set; } /// /// Desc:机台号 /// Default: /// Nullable:False /// [SugarColumn(IsPrimaryKey = true)] public string Equip_Code { get; set; } /// /// Desc:排序字段 /// Default: /// Nullable:True /// public int Plan_Serial { get; set; } /// /// Desc:配方GUID /// Default: /// Nullable:True /// public string Recipe_ID { get; set; } /// /// Desc:配方ID /// Default: /// Nullable:True /// public string Recipe_Code { get; set; } /// /// Desc:配方名称 /// Default: /// Nullable:True /// public string Recipe_Name { get; set; } /// /// Desc:配方版本号 /// Default: /// Nullable:True /// public string Version { get; set; } /// /// Desc:配方线路 /// Default: /// Nullable:True /// public string Mixer_Line { get; set; } /// /// Desc:配方类型 /// Default: /// Nullable:True /// public int? Recipe_Type { get; set; } /// /// Desc:班次ID /// Default: /// Nullable:True /// public string Shift_Id { get; set; } /// /// Desc:班组ID /// Default: /// Nullable:True /// public string Shift_Class { get; set; } /// /// Desc:计划数 /// Default: /// Nullable:True /// public int Plan_Num { get; set; } /// /// Desc:完成数 /// Default: /// Nullable:True /// public int Real_Num { get; set; } /// /// Desc:持续时间 /// Default: /// Nullable:True /// public int Duration_Time { get; set; } /// /// Desc:开始时间 /// Default: /// Nullable:True /// public string Start_Date { get; set; } /// /// Desc:结束时间 /// Default: /// Nullable:True /// public string End_Date { get; set; } /// /// Desc:合计重量 /// Default: /// Nullable:True /// public decimal Plan_TotalWeight { get; set; } /// /// Desc:合计误差 /// Default: /// Nullable:True /// public decimal Plan_TotalError { get; set; } /// /// Desc:称量工 /// Default: /// Nullable:True /// public string Weight_Man { get; set; } /// /// Desc:投料工 /// Default: /// Nullable:True /// public string Stock_Man { get; set; } /// /// Desc:批次号,不同的现场有不同的命令规则 /// Default: /// Nullable:True /// public string Plan_Batch { get; set; } /// /// Desc:计划状态 /// Default: /// Nullable:True /// public int Plan_State { get; set; } /// /// Desc:计划日期 /// Default: /// Nullable:True /// public string Plan_StateText { get; set; } /// /// Desc:计划日期 /// Default: /// Nullable:True /// public string Plan_Date { get; set; } /// /// Desc:MES计划变更标志位 /// Default: /// Nullable:True /// public int IF_FLAG { get; set; } /// /// Desc:是否重传 /// Default: /// Nullable:True /// public int IsRetransmission { get; set; } /// /// Desc:重传次数 /// Default:0 /// Nullable:True /// public int Retransmission_Num { get; set; } } }