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