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.
145 lines
5.9 KiB
145 lines
5.9 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.WIPManage
|
|
{
|
|
/// <summary>
|
|
/// 模块编号:M7-2
|
|
/// 作 用:在制品入库信息
|
|
/// 作 者:王济
|
|
/// 编写日期:2015年07月07日
|
|
///</summary>
|
|
public class WIPInRecorderModel : 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 = 30, Width = 210)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 180, DataAlign = DataAlign.center)]
|
|
public string PRODUCTCODE { get; set; }
|
|
///<summary>
|
|
///零件分类
|
|
///</summary>
|
|
[Description("零件类别")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, Width = 214, JsonUtl = "/WIPInventory/GetProductSetDropDownList")]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string PRODUCTTYPE { get; set; }
|
|
///<summary>
|
|
///工序类别
|
|
///</summary>
|
|
[Description("工序类别")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, Width = 214, JsonUtl = "/WIPInventory/GetProcessSetDropDownList")]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string PROCESSTYPE { 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 COUNT { get; set; }
|
|
///<summary>
|
|
///设备名称
|
|
///</summary>
|
|
[Description("设备名称")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MACHINENAME { get; set; }
|
|
///<summary>
|
|
///设备编码
|
|
///</summary>
|
|
[Description("设备编号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MACHINECODDE { get; set; }
|
|
///<summary>
|
|
///班次信息名称
|
|
///</summary>
|
|
[Description("班次信息名称")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string PRODUCESHIFTNAME { get; set; }
|
|
///<summary>
|
|
///班次信息编号
|
|
///</summary>
|
|
[Description("班次信息编号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string PRODUCESHIFTTCODE { get; set; }
|
|
/// <summary>
|
|
/// 入库时间
|
|
/// </summary>
|
|
[Description("入库时间")]
|
|
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
|
|
public DateTime INTIME { get; set; }
|
|
|
|
///<summary>
|
|
///创建用户
|
|
///</summary>
|
|
[Description("创建用户")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string CREATEUSER { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Description("创建时间")]
|
|
[HTMLInput(UpdateRead = true, MaxLength = 20)]
|
|
[InputType(inputType.hidden)]
|
|
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
|
|
public DateTime CREATEDATE { get; set; }
|
|
|
|
[Description("创建日期")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 210, FormatDate = "yyyy-MM-dd")]
|
|
[InputType(inputType.datebox)]
|
|
public string STARTCREATEDATE { get; set; }
|
|
|
|
[Description("至")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 210, FormatDate = "yyyy-MM-dd")]
|
|
[InputType(inputType.datebox)]
|
|
public string ENDCREATEDATE { get; set; }
|
|
/// <summary>
|
|
/// 更新用户
|
|
/// </summary>
|
|
[Description("更新用户")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string UPDATEUSER { get; set; }
|
|
// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[Description("更新时间")]
|
|
[HTMLInput(UpdateRead = true, MaxLength = 20)]
|
|
[InputType(inputType.hidden)]
|
|
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
|
|
public DateTime UPDATEDATE { get; set; }
|
|
|
|
|
|
|
|
}
|
|
}
|