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

260 lines
8.1 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-5
/// 作 用:滞留品查询页面模型
/// 作 者:王丹丹
/// 编写日期:2015年06月26日
///</summary>
public class DetentionModel : 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("本体条码")]
public string MAINCODE { get; set; }
///<summary>
///骨架信息主键
///</summary>
[Description("骨架信息主键")]
public string SKID { get; set; }
///<summary>
///骨架产品条码
///</summary>
[Description("骨架产品条码")]
public string SKELETONCODE { get; set; }
///<summary>
///表皮主键
///</summary>
[Description("表皮主键")]
public string EID { get; set; }
///<summary>
///表皮条码
///</summary>
[Description("表皮条码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 21)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.left)]
public string EPIDERMISCODE { 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 MACHINECODDE { get; set; }
///<summary>
///加工阶段(0:加工中 1:加工完成)
///</summary>
[Description("加工阶段")]
public string PROCESSSTATE { get; set; }
///<summary>
///加工阶段(0:加工中 1:加工完成)
///</summary>
[Description("加工阶段")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string PROCESSSTATETXT { get; set; }
///<summary>
///是否合格(0:合格 1:返修 2:作废)
///</summary>
[Description("是否合格")]
public string STATUS { get; set; }
///<summary>
///是否合格(0:合格 1:返修 2:作废)
///</summary>
[Description("是否合格")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string STATUSTXT { get; set; }
///<summary>
///班次名称
///</summary>
[Description("班次名称")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string PRODUCESHIFTNAME { get; set; }
///<summary>
///班次编号
///</summary>
[Description("班次编号")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string PRODUCESHIFTTCODE { get; set; }
///<summary>
///高低配
///</summary>
[Description("高低配")]
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=HAndL", MaxLength = 1)]
[InputType(inputType.combobox)]
public string HB { get; set; }
///<summary>
///高低配
///</summary>
[Description("高低配")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string HBTXT { get; set; }
///<summary>
///颜色
///</summary>
[Description("颜色")]
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=COLOR", MaxLength = 1)]
[InputType(inputType.combobox)]
public string COLOR { get; set; }
///<summary>
///颜色
///</summary>
[Description("颜色")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string COLORTXT { get; set; }
///<summary>
///当前工序(0-15)
///</summary>
[Description("当前工序")]
public string CURRENTPROCESS { get; set; }
///<summary>
///加工完成(0:未完成)
///</summary>
[Description("加工完成")]
public string COMPLETEFLAG { get; set; }
///<summary>
///生产线
///</summary>
[Description("生产线")]
public string PRODUCELINE { get; set; }
///<summary>
///出库标记(0:在库 1:发货 2.异常出库)
///</summary>
[Description("出库标记")]
public string OUTFLAG { get; set; }
///<summary>
///贴车单记录主键
///</summary>
[Description("贴车单记录主键")]
public string SPID { get; set; }
///<summary>
///贴车单号
///</summary>
[Description("贴车单号")]
public string SENDCODE { 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 COMPLETETIME { get; set; }
[Description("完成时间")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 130, DataAlign = DataAlign.center)]
public string COMPLETEDATE { get; set; }
///<summary>
///滞留时长
///</summary>
[Description("滞留时长/小时")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 21, DataType = QDataType.number)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.right)]
public string DetentionTimeCount { 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 = 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; }
/// <summary>
/// 更新用户
/// </summary>
[Description("更新用户")]
public string UPDATEUSER { get; set; }
/// <summary>
/// 更新用户
/// </summary>
[Description("更新用户")]
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string UPDATEUSERNAME { 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; }
}
}