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.
176 lines
5.4 KiB
176 lines
5.4 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>
|
|
/// 20180117
|
|
/// </summary>
|
|
public class MaterialClassModel : QDGModel
|
|
{
|
|
|
|
/// <summary>
|
|
/// 物料分类主键
|
|
/// </summary>
|
|
[Description("物料分类主键")]
|
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
|
public string PID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料分类编号
|
|
/// </summary>
|
|
[Description("物料分类编号")]
|
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 200)]
|
|
[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100)]
|
|
public string MATERIAL_TYPE_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料分类名称
|
|
/// </summary>
|
|
[Description("物料分类名称")]
|
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
public string MATERIAL_TYPE_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料属性
|
|
/// </summary>
|
|
[Description("物料属性")]
|
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
public string MATERIAL_ATTRIBUTE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 层级
|
|
/// </summary>
|
|
[Description("层级")]
|
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
public int LAYER_NUM { get; set; }
|
|
|
|
/// <summary>
|
|
/// 序号
|
|
/// </summary>
|
|
[Description("序号")]
|
|
public int SEQ_NUM { get; set; }
|
|
|
|
/// <summary>
|
|
/// 上级物料编码
|
|
/// </summary>
|
|
[Description("上级物料编码")]
|
|
public string UP_MATERIAL_TYPE_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 规格描述
|
|
/// </summary>
|
|
[Description("规格描述")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 100, Width = 150, Height = 50)]
|
|
[InputType(inputType.textArea)]
|
|
public string REMARK { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建用户
|
|
/// </summary>
|
|
[Description("创建用户")]
|
|
public string CREATEUSER { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Description("创建时间")]
|
|
public DateTime CREATEDATE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新用户
|
|
/// </summary>
|
|
[Description("更新用户")]
|
|
public string UPDATEUSER { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[Description("更新时间")]
|
|
public DateTime UPDATEDATE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 删除标识
|
|
/// </summary>
|
|
[Description("删除标识")]
|
|
public string FLGDEL { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 物料号
|
|
/// </summary>
|
|
[Description("物料号")]
|
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 180, DataAlign = DataAlign.left)]
|
|
public string MATERIAL_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料名称
|
|
/// </summary>
|
|
[Description("物料名称")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(Sortable = true, Width = 220, DataAlign = DataAlign.left)]
|
|
public string MATERIAL_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工厂名称
|
|
/// </summary>
|
|
[Description("工厂名称")]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 320, DataAlign = DataAlign.left)]
|
|
public string FACTORY_NAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 工厂编号
|
|
/// </summary>
|
|
[Description("工厂")]
|
|
[HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetFactoryComboxSource", MaxLength = 20, Width = 150)]
|
|
[InputType(inputType.combobox)]
|
|
public string FACTORY_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 项目号
|
|
/// </summary>
|
|
[Description("项目号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
|
[InputType(inputType.combobox)]
|
|
//[DGColumn(Sortable = true, Width = 90, DataAlign = DataAlign.left)]
|
|
public string PROJECTCODE { get; set; }
|
|
|
|
[Description("项目号")]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 90, DataAlign = DataAlign.left)]
|
|
public string PROJECT_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 颜色
|
|
/// </summary>
|
|
[Description("颜色")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 100, JsonUtl = "/Dict/GetFixedComboxSource?kind=COLOR")]
|
|
[InputType(inputType.combobox)]
|
|
public string COLOR { get; set; }
|
|
|
|
///<summary>
|
|
/// 配置
|
|
/// </summary>
|
|
[Description("配置")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 100, JsonUtl = "/Dict/GetFixedComboxSource?kind=HBTYPE")]
|
|
[InputType(inputType.combobox)]
|
|
public string HBTYPE { get; set; }
|
|
|
|
//选择全部
|
|
public string isSelectAll { get; set; }
|
|
|
|
}
|
|
}
|