天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

246 lines
9.0 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI.Attribute;
using QMFrameWork.WebUI;
namespace QMAPP.FJC.Web.Models.FeedInManage
{
/// <summary>
/// 模块编号:M3-2
/// 作 用:搪塑投料记录页面模型
/// 作 者:王丹丹
/// 编写日期:2015年06月6日
///</summary>
public class SlushRecorderModel : QDGModel
{
///<summary>
///投料记录主键
///</summary>
[Description("投料记录主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
///<summary>
///设备名称
///</summary>
[Description("设备名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string MACHINENAME { get; set; }
///<summary>
///设备编码
///</summary>
[Description("设备编码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/SlushRecorder/GetMachineInfoComboxSource")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MACHINECODDE { get; set; }
///<summary>
///物料名称
///</summary>
[Description("物料名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 100)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string MATERIALNAME { get; set; }
///<summary>
///物料号
///</summary>
[Description("物料号")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 40)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MATERIALCODE { get; set; }
///<summary>
///物料类别(0:原材料 1:织物衬布)
///</summary>
[Description("物料类别")]
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=INJECTIONMATERIALTYPE", MaxLength = 1)]
[InputType(inputType.combobox)]
public string MATERIALTYPE { get; set; }
[Description("物料类别")]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string MATERIALTYPETXT { get; set; }
///<summary>
///原材料批次号
///</summary>
[Description("批次号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MATERIALBATCH { get; set; }
///<summary>
///原材料批次号
///</summary>
[Description("料包号")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string PACKAGENO { get; set; }
///<summary>
///设备分类(0:搪塑 1:注塑)
///</summary>
[Description("设备分类")]
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=MACHINETYPE", MaxLength = 1)]
[InputType(inputType.combobox)]
public string MACHINETYPE { get; set; }
[Description("设备分类")]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MACHINETYPETXT { get; set; }
///<summary>
///工序类别(0:搪塑 1:骨架注塑 2:气囊支架注塑 3:风道注塑 4:开关支架注塑 5:HUD风道注塑)
///</summary>
[Description("工序类别")]
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/SlushRecorder/GetComboxSource", MaxLength = 2)]
[InputType(inputType.combobox)]
public string PROCESSTYPE { get; set; }
[Description("工序类别")]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string PROCESSTYPETXT { get; set; }
///<summary>
///搪塑注料顺序
///</summary>
[Description("搪塑注料顺序")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
[InputType(inputType.text)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.right)]
public int INJECTIONINDEX { get; set; }
///<summary>
///搪塑上料口
///</summary>
[Description("搪塑上料口")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
[InputType(inputType.text)]
public int INJECTIONTERMINAL { get; set; }
///<summary>
///搪塑上料口
///</summary>
[Description("上料口")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.right)]
public int INJECTIONTERMINALNAME { get; set; }
///<summary>
///投料重量
///</summary>
[Description("投料重量(KG)")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.right)]
public int METERIALWEIGHT { get; set; }
///<summary>
///已使用重量
///</summary>
[Description("已使用重量(KG)")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.right)]
public int USEDWEIGHTSUM { get; set; }
///<summary>
///班次信息名称
///</summary>
[Description("班次名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string PRODUCESHIFTNAME { get; set; }
///<summary>
///班次信息编号
///</summary>
[Description("班次编号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/SlushRecorder/GetProductShiftComboxSource")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string PRODUCESHIFTTCODE { get; set; }
///<summary>
///生产线
///</summary>
[Description("生产线")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.text)]
public string PRODUCELINE { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("操作用户")]
public string CREATEUSER { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
[InputType(inputType.hidden)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string CREATEDATE { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("操作用户")]
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string CREATEUSERNAME { get; set; }
/// <summary>
/// 更新用户
/// </summary>
[Description("更新用户")]
[InputType(inputType.hidden)]
public string UPDATEUSER { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[Description("更新时间")]
[InputType(inputType.hidden)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string UPDATEDATE { get; set; }
[Description("创建日期")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.dateTimeBox)]
public string CreateDateStart { get; set; }
[Description("至")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.dateTimeBox)]
public string CreateDateEnd { get; set; }
}
}