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

161 lines
6.4 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-1
/// 作 用:在制品库存
/// 作 者:王济
/// 编写日期:2015年07月06日
///</summary>
public class WIPInventoryModel : 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 = 50, 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 = 50, Width = 214, JsonUtl = "/WIPInventory/GetProcessSetDropDownList")]//
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string CURRENTPROCESS { 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, Width = 210)]
[InputType(inputType.text)]
[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("使用状态")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string USINGSTATE { get; set; }
///<summary>
///物料类别
///</summary>
[Description("物料类别")]
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
//[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = false, Width = 70, DataAlign = DataAlign.center)]
public string MATERIAL_TYPE { get; set; }
///<summary>
///物料号
///</summary>
[Description("物料号")]
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
//[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.center)]
public string MATERIAL_CODE { get; set; }
///<summary>
///零件状态
///</summary>
[Description("零件状态")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string STATUS { get; set; }
///<summary>
///出库标记
///</summary>
[Description("出库标记")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string OUTFLAG { 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("创建时间")]
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime CREATEDATE { 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("更新时间")]
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime UPDATEDATE { get; set; }
}
}