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

156 lines
3.8 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>
/// 周晓东
/// 20180521
/// </summary>
public class MaterialClassTreeModel : QDGModel
{
/// <summary>
/// 物料分类主键
/// </summary>
public string PID { get; set; }
/// <summary>
/// 物料分类编号
/// </summary>
public string MATERIAL_TYPE_CODE { get; set; }
/// <summary>
/// 物料分类名称
/// </summary>
public string MATERIAL_TYPE_NAME { get; set; }
/// <summary>
/// 物料属性
/// </summary>
public string MATERIAL_ATTRIBUTE { get; set; }
/// <summary>
/// 层级
/// </summary>
public int LAYER_NUM { get; set; }
/// <summary>
/// 序号
/// </summary>
public string SEQ_NUM { get; set; }
/// <summary>
/// 上级物料编码
/// </summary>
public string UP_MATERIAL_TYPE_CODE { get; set; }
/// <summary>
/// 描述
/// </summary>
public string REMARK { 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>
public string MATERIAL_SHORT { get; set; }
/// <summary>
/// 项目号
/// </summary>
public string PROJECTCODE { 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; }
/// <summary>
/// 厂商
/// </summary>
public string MATERIAL_COMP { get; set; }
/// <summary>
/// 外购件标识
/// </summary>
public string OUTSOURCE { get; set; }
// <summary>
/// 标准包装数量
/// </summary>
public string STD_QTY { get; set; }
/// <summary>
/// 创建用户
/// </summary>
public string CREATEUSER { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CREATEDATE { get; set; }
/// <summary>
/// 更新用户
/// </summary>
public string UPDATEUSER { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime UPDATEDATE { get; set; }
/// <summary>
/// 菜单树集合
/// </summary>
public List<MaterialClassTreeModel> children { get; set; }
public string Id { get; set; }
public string Text { get; set; }
}
}