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.
154 lines
5.5 KiB
154 lines
5.5 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.MD.Web.Models
|
|
{
|
|
/// <summary>
|
|
/// 模块名称:设备
|
|
/// 作 者:郭兆福
|
|
/// 编写日期:2017年05月10日
|
|
/// </summary>
|
|
public class EquipmentModel : 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("工作中心")]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 240, DataAlign = DataAlign.left)]
|
|
public string WORKCENTER_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///设备编码
|
|
///</summary>
|
|
[Description("设备编码")]
|
|
[HTMLInput(UpdateRead =true, required = true, MaxLength = 10)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string EQUIPMENT_CODE { get; set; }
|
|
|
|
///<summary>
|
|
///设备名称
|
|
///</summary>
|
|
[Description("设备名称")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, Width = 240)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 240, DataAlign = DataAlign.left)]
|
|
public string EQUIPMENT_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///设备类型
|
|
///</summary>
|
|
[Description("设备类型")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1,Width = 244, JsonUtl = "/Dict/GetFixedComboxSource?kind=EquipmentType&WithEmpty=false")]
|
|
[InputType(inputType.combobox)]
|
|
public string EQUIPMENT_TYPE { get; set; }
|
|
|
|
///<summary>
|
|
/// 设备类型名称
|
|
///</summary>
|
|
[Description("设备类型")]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string EQUIPMENT_TYPE_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///关键设备
|
|
///</summary>
|
|
[Description("关键设备")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1, Width = 244, JsonUtl = "/Dict/GetFixedComboxSource?kind=EquipmentFlag&WithEmpty=false")]
|
|
[InputType(inputType.combobox)]
|
|
public string FLAG_EQUIPMENT { get; set; }
|
|
|
|
///<summary>
|
|
/// 关键设备
|
|
///</summary>
|
|
[Description("关键设备")]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string FLAG_EQUIPMENT_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工作中心编号
|
|
/// </summary>
|
|
[Description("工作中心")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 10, Width = 244, JsonUtl = "/Dict/GetAllWorkCenterComboxSource")]
|
|
[InputType(inputType.combobox)]
|
|
public string WORKCENTER_CODE { get; set; }
|
|
|
|
///<summary>
|
|
///设备编码
|
|
///</summary>
|
|
[Description("工序编码")]
|
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20, Width = 244, JsonUtl = "/Dict/GetALLWorkCellComboxSource")]
|
|
[InputType(inputType.combobox)]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string WORKCELL_CODE { get; set; }
|
|
|
|
///<summary>
|
|
///设备名称
|
|
///</summary>
|
|
[Description("工序名称")]
|
|
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 60, Width = 240)]
|
|
//[InputType(inputType.combobox)]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 240, DataAlign = DataAlign.left)]
|
|
public string WORKCELL_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///备注
|
|
///</summary>
|
|
[Description("备注")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 100, Width = 240, Height = 50)]
|
|
[InputType(inputType.textArea)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 240, DataAlign = DataAlign.left)]
|
|
public string REMARK { get; set; }
|
|
|
|
///<summary>
|
|
///删除标识
|
|
///</summary>
|
|
[Description("删除标识")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
|
|
[InputType(inputType.hidden)]
|
|
public string FLGDEL { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建用户
|
|
/// </summary>
|
|
[Description("创建用户")]
|
|
public string CREATEUSER { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Description("创建时间")]
|
|
[HTMLInput(UpdateRead = true, MaxLength = 20)]
|
|
[InputType(inputType.hidden)]
|
|
public DateTime CREATEDATE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新用户
|
|
/// </summary>
|
|
[Description("更新用户")]
|
|
public string UPDATEUSER { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[Description("更新时间")]
|
|
[HTMLInput(UpdateRead = true, MaxLength = 20)]
|
|
[InputType(inputType.hidden)]
|
|
public DateTime UPDATEDATE { get; set; }
|
|
}
|
|
}
|