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
{
///
/// 模块编号:M3-2
/// 作 用:搪塑投料记录页面模型
/// 作 者:王丹丹
/// 编写日期:2015年06月6日
///
public class SlushRecorderModel : QDGModel
{
///
///投料记录主键
///
[Description("投料记录主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
///
///设备名称
///
[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; }
///
///设备编码
///
[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; }
///
///物料名称
///
[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; }
///
///物料号
///
[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; }
///
///物料类别(0:原材料 1:织物衬布)
///
[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; }
///
///原材料批次号
///
[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; }
///
///原材料批次号
///
[Description("料包号")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string PACKAGENO { get; set; }
///
///设备分类(0:搪塑 1:注塑)
///
[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; }
///
///工序类别(0:搪塑 1:骨架注塑 2:气囊支架注塑 3:风道注塑 4:开关支架注塑 5:HUD风道注塑)
///
[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; }
///
///搪塑注料顺序
///
[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; }
///
///搪塑上料口
///
[Description("搪塑上料口")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
[InputType(inputType.text)]
public int INJECTIONTERMINAL { get; set; }
///
///搪塑上料口
///
[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; }
///
///投料重量
///
[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; }
///
///已使用重量
///
[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; }
///
///班次信息名称
///
[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; }
///
///班次信息编号
///
[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; }
///
///生产线
///
[Description("生产线")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.text)]
public string PRODUCELINE { get; set; }
///
/// 创建用户
///
[Description("操作用户")]
public string CREATEUSER { get; set; }
///
/// 创建时间
///
[Description("创建时间")]
[InputType(inputType.hidden)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string CREATEDATE { get; set; }
///
/// 创建用户
///
[Description("操作用户")]
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string CREATEUSERNAME { get; set; }
///
/// 更新用户
///
[Description("更新用户")]
[InputType(inputType.hidden)]
public string UPDATEUSER { get; set; }
///
/// 更新时间
///
[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; }
}
}