天津投入产出系统后端
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.

205 lines
6.3 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.ProductPetrospect
{
/// <summary>
/// 模块编号:M5-2
/// 作 用:产品批次追溯页面模型
/// 作 者:王丹丹
/// 编写日期:2015年06月11日
///</summary>
public class ProductInjectionModel : 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 = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true)]
public string IPID { get; set; }
///<summary>
///零件条码主键
///</summary>
[Description("零件条码主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true)]
public string MPPID { get; set; }
///<summary>
///零件条码
///</summary>
[Description("表皮条码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.left)]
public string PRODUCTCODE { get; set; }
///<summary>
///零件条码
///</summary>
[Description("总成条码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.left)]
public string MAINCODE { get; set; }
///<summary>
///零件类别
///</summary>
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
[Description("零件类别")]
public string PRODUCTTYPE { get; set; }
///<summary>
///设备编号
///</summary>
[HTMLInput(UpdateRead = false, required = true, MaxLength = 40)]
[InputType(inputType.text)]
[Description("设备编号")]
public string MACHINECODDE { get; set; }
///<summary>
///设备名称
///</summary>
[HTMLInput(UpdateRead = false, required = true, MaxLength = 40)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
[Description("设备名称")]
public string MACHINENAME { get; set; }
///<summary>
///物料名称
///</summary>
[Description("物料名称")]
public string MATERIALNAME { get; set; }
///<summary>
///物料号
///</summary>
[Description("物料号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 40)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string MATERIALCODE { get; set; }
///<summary>
///物料类别
///</summary>
[Description("物料类别")]
public string MATERIALTYPE { get; set; }
///<summary>
///批次号
///</summary>
[Description("批次号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string MATERIALBATCH { 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)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.right)]
public int INJECTIONTERMINAL { get; set; }
///<summary>
///本次注料重量
///</summary>
[Description("本次注料重量")]
public int USEDWEIGHT { get; set; }
///<summary>
///工序类别
///</summary>
[Description("工序类别")]
public string PROCESSTYPE { get; set; }
///<summary>
///操作用户
///</summary>
[Description("操作用户")]
public string CREATEUSER { get; set; }
/// <summary>
/// 操作用户
/// </summary>
[Description("操作用户")]
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string CREATEUSERNAME { get; set; }
///<summary>
///投料时间
///</summary>
[Description("投料时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 8)]
[InputType(inputType.datebox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime CREATEDATE { get; set; }
///<summary>
///更新用户
///</summary>
[Description("更新用户")]
public string UPDATEUSER { get; set; }
public string UPDATEUSERNAME { get; set; }
///<summary>
///更新时间
///</summary>
[Description("更新时间")]
public DateTime UPDATEDATE { get; set; }
}
}