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.
191 lines
6.7 KiB
191 lines
6.7 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>
|
|
/// 模块名称:Bom信息
|
|
/// 作 者:郭兆福
|
|
/// 编写日期:2017年05月10日
|
|
/// </summary>
|
|
public class PbomModel : QDGModel
|
|
{
|
|
///<summary>
|
|
///BOM主键
|
|
///</summary>
|
|
[Description("BOM主键")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
|
public string PID { get; set; }
|
|
|
|
|
|
|
|
///<summary>
|
|
///PBOM编号
|
|
///</summary>
|
|
[Description("BOM编号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 240)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 120, DataAlign = DataAlign.left)]
|
|
public string PBOM_CODE { get; set; }
|
|
|
|
///<summary>
|
|
///物料号
|
|
///</summary>
|
|
[Description("物料号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 244)]
|
|
[InputType(inputType.combotree)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 120, DataAlign = DataAlign.left)]
|
|
public string MATERIAL_CODE { get; set; }
|
|
|
|
///<summary>
|
|
///物料名称
|
|
///</summary>
|
|
[Description("物料名称")]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.left)]
|
|
public string MATERIAL_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///特征码
|
|
///</summary>
|
|
[Description("特征码")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 10, Width = 244)]
|
|
[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string PROPERTY_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 生效日期
|
|
/// </summary>
|
|
[Description("生效日期")]
|
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 16, Width = 244)]
|
|
[InputType(inputType.datebox)]
|
|
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")]
|
|
public DateTime EOA_DATE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 失效日期
|
|
/// </summary>
|
|
[Description("失效日期")]
|
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 16, Width = 244)]
|
|
[InputType(inputType.datebox)]
|
|
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")]
|
|
public DateTime EXP_DATE { get; set; }
|
|
|
|
///<summary>
|
|
///状态
|
|
///</summary>
|
|
[Description("状态")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1, Width = 244, JsonUtl = "/Dict/GetFixedComboxSource?kind=BomStatus&WithEmpty=false")]
|
|
[InputType(inputType.combobox)]
|
|
public string STATUS { get; set; }
|
|
|
|
///<summary>
|
|
///工艺路线
|
|
///</summary>
|
|
[Description("工艺路线")]
|
|
[HTMLInput(UpdateRead = false, required = true, Width = 244)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
|
|
public string ROUTE_CODE { get; set; }
|
|
|
|
///<summary>
|
|
///工艺路线
|
|
///</summary>
|
|
[Description("工艺路线名称")]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 120, DataAlign = DataAlign.left)]
|
|
public string ROUTE_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///状态名字
|
|
///</summary>
|
|
[Description("状态")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 60, DataAlign = DataAlign.center)]
|
|
public string STATUS_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///项目编号
|
|
///</summary>
|
|
[Description("项目编号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 244)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 60, DataAlign = DataAlign.center)]
|
|
public string ITEM_NUM { get; set; }
|
|
|
|
///<summary>
|
|
///版本号
|
|
///</summary>
|
|
[Description("版本号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 244)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 60, DataAlign = DataAlign.center)]
|
|
public string VER_NUM { get; set; }
|
|
|
|
///<summary>
|
|
///描述
|
|
///</summary>
|
|
[Description("描述")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 200, Width = 244, Height = 50)]
|
|
[InputType(inputType.textArea)]
|
|
[DGColumn(Sortable = true, Width = 240, DataAlign = DataAlign.left)]
|
|
public string REMARK { get; set; }
|
|
|
|
///<summary>
|
|
///删除标识
|
|
///</summary>
|
|
[Description("删除标识")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
|
|
[InputType(inputType.hidden)]
|
|
public string FLGDEL { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建用户
|
|
/// </summary>
|
|
[Description("创建用户")]
|
|
public string CREATEUSER { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Description("创建时间")]
|
|
[HTMLInput(UpdateRead = true, MaxLength = 20)]
|
|
[InputType(inputType.hidden)]
|
|
public DateTime CREATEDATE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新用户
|
|
/// </summary>
|
|
[Description("更新用户")]
|
|
public string UPDATEUSER { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[Description("更新时间")]
|
|
[HTMLInput(UpdateRead = true, MaxLength = 20)]
|
|
[InputType(inputType.hidden)]
|
|
public DateTime UPDATEDATE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工厂
|
|
/// </summary>
|
|
[Description("工厂")]
|
|
[HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetFactoryComboxSource", MaxLength = 15, Width = 244)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(Sortable = true, Width = 50, DataAlign = DataAlign.left)]
|
|
public string FACTORY_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工厂
|
|
/// </summary>
|
|
[Description("工厂")]
|
|
[DGColumn(Sortable = true, Width = 300, DataAlign = DataAlign.left)]
|
|
public string FACTORY_NAME { get; set; }
|
|
}
|
|
}
|