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.
238 lines
7.9 KiB
238 lines
7.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.ProductPetrospect
|
|
{
|
|
/// <summary>
|
|
/// 模块编号:
|
|
/// 作 用:加工记录页面模型
|
|
/// 作 者:王丹丹
|
|
/// 编写日期:2015年06月08日
|
|
///</summary>
|
|
public class MainOperationReviewModel : 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>
|
|
///零件信息主键(当零件类别是9时,是本体ID)
|
|
///</summary>
|
|
[Description("零件信息主键")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
public string PDID { 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>
|
|
[Description("工序类别")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2)]
|
|
[InputType(inputType.text)]
|
|
public string PROCESSTYPE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///零件类别
|
|
///</summary>
|
|
[Description("零件类别")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2)]
|
|
[InputType(inputType.text)]
|
|
public string PRODUCTTYPE { 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 MACHINENAME { 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>
|
|
///产品状态
|
|
///</summary>
|
|
[Description("产品状态")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string STATUS { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///加工状态
|
|
///</summary>
|
|
[Description("加工状态")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string OPERATESTATE { 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 OPERATEDDATE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///当前工序
|
|
///</summary>
|
|
[Description("当前工序")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string CURRENTPROCESS { 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 PRODUCESHIFTNAME { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///班次信息编号
|
|
///</summary>
|
|
[Description("班次信息编号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
|
[InputType(inputType.text)]
|
|
public string PRODUCESHIFTTCODE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///生产线
|
|
///</summary>
|
|
[Description("生产线")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
public string PRODUCELINE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///文件名称
|
|
///</summary>
|
|
[Description("文件名称")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string FILENAME { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///文件路径
|
|
///</summary>
|
|
[Description("文件路径")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 500)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string FILEPATH { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///模具位置
|
|
///</summary>
|
|
[Description("模具位置")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string MODELSTATION { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///创建用户
|
|
///</summary>
|
|
[Description("创建用户")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
public string CREATEUSER { get; set; }
|
|
///<summary>
|
|
///创建用户
|
|
///</summary>
|
|
[Description("创建用户")]
|
|
[DGColumn(frozenColumns = false, 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("更新用户")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
public string UPDATEUSER { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///更新时间
|
|
///</summary>
|
|
[Description("更新时间")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 8)]
|
|
[InputType(inputType.datebox)]
|
|
public DateTime UPDATEDATE { get; set; }
|
|
|
|
|
|
}
|
|
}
|