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.
136 lines
4.7 KiB
136 lines
4.7 KiB
4 years ago
|
using System.Web.Mvc.Html;
|
||
|
using QMFrameWork.WebUI;
|
||
|
using QMFrameWork.WebUI.Attribute;
|
||
|
using System;
|
||
|
|
||
|
namespace QMAPP.FJC.Web.Models.Andon
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 模块编号:
|
||
|
/// 作 用:呼叫原因维护
|
||
|
/// 作 者:周晓东
|
||
|
/// 编写日期:2017.11.16
|
||
|
///</summary>
|
||
|
public class CallReasonModel : 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, JsonUtl = "/Dict/GetConfigDetailComboxSource?kind=CALL_TYPE", MaxLength = 1)]
|
||
|
[InputType(inputType.combobox)]
|
||
|
public string CALL_TYPE { get; set; }
|
||
|
|
||
|
[Description("呼叫类型")]
|
||
|
[DGColumn(frozenColumns = true, Sortable = false, Width = 100, DataAlign = DataAlign.center)]
|
||
|
public string CALL_TYPE_TXT { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///呼叫原因
|
||
|
///</summary>
|
||
|
[Description("呼叫原因")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 130, DataAlign = DataAlign.left)]
|
||
|
public string CALL_REASION { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///设备编码
|
||
|
///</summary>
|
||
|
[Description("工厂编码")]
|
||
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public string FACTORY_CODE { get; set; }
|
||
|
|
||
|
[Description("上级主键")]
|
||
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public string PARENTID { get; set; }
|
||
|
|
||
|
|
||
|
///// <summary>
|
||
|
///// 创建用户
|
||
|
///// </summary>
|
||
|
//[Description("创建用户")]
|
||
|
//[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
//public string CREATEUSER { 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("更新用户")]
|
||
|
//[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
//public string UPDATEUSER { 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; }
|
||
|
|
||
|
/// <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; }
|
||
|
}
|
||
|
}
|