天津投入产出系统后端
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.

144 lines
4.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.Basic
{
public class ProductBasicModel : 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 = 2)]
[InputType(inputType.hidden)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PRODUCTTYPE { get; set; }
///<summary>
///零件类别编码
///</summary>
[Description("零件类别编码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string PRODUCTTYPECODE { get; set; }
///<summary>
///零件类别名称
///</summary>
[Description("零件类别名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string PRODUCTNAME { get; set; }
///<summary>
///产品单位
///</summary>
[Description("产品单位")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1, JsonUtl = "/Dict/GetFixedComboxSource?kind=PRODUCTUNIT")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string PRODUCTUNIT { get; set; }
///<summary>
///零件来源
///</summary>
[Description("零件来源")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1, JsonUtl = "/Dict/GetFixedComboxSource?kind=PRODUCTSOURCE")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string PRODUCTSOURCE { get; set; }
///<summary>
///是否为父级别
///</summary>
[Description("是否为父级别")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1, JsonUtl = "/Dict/GetFixedComboxSource?kind=ISPARENT")]
[InputType(inputType.combobox)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string ISPARENT { get; set; }
///<summary>
///容量
///</summary>
[Description("容量")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public int CAPATITY { get; set; }
///<summary>
///删除标识
///</summary>
[Description("删除标识")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
[InputType(inputType.hidden)]
public string DELFLAG { 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(frozenColumns = false, 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; }
}
}