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.
75 lines
2.6 KiB
75 lines
2.6 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>
|
|
/// 模块名称:缺陷表
|
|
/// 作 者:张松男
|
|
/// 编写日期:2021年5月26日
|
|
/// </summary>
|
|
public class DefectDictModel : QDGModel
|
|
{
|
|
/// <summary>
|
|
/// 缺陷表主键
|
|
/// </summary>
|
|
[Description("缺陷表主键")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.hidden)]
|
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
|
public string PID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 作废编号
|
|
/// </summary>
|
|
[Description("作废编号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)] //输入框类型
|
|
[DGColumn(frozenColumns = true, Sortable = false, Width = 200, DataAlign = DataAlign.center)]
|
|
public string MFGCODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 作废名称
|
|
/// </summary>
|
|
[Description("作废名称")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
|
|
public string MFGNAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 类型
|
|
/// </summary>
|
|
[Description("类型")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
|
|
public string TYPE_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备用字段
|
|
/// </summary>
|
|
[Description("")]
|
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20)]
|
|
//[InputType(inputType.text)]
|
|
[DGColumn(Hidden = true, frozenColumns = false, Sortable = true, Width = 140, DataAlign = DataAlign.left)]
|
|
[InputType(inputType.hidden)]
|
|
public string MFGCODETYPE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备用字段
|
|
/// </summary>
|
|
[Description("")]
|
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20)]
|
|
//[InputType(inputType.text)]
|
|
[DGColumn(Hidden = true, frozenColumns = true, Sortable = true, Width = 140, DataAlign = DataAlign.left)]
|
|
[InputType(inputType.hidden)]
|
|
public string MFGCODETYPENAME { get; set; }
|
|
|
|
}
|
|
}
|