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.Operation
{
///
/// 不合格品数量
///
public class UnQualityProductModel : QDGModel
{
///
///主键
///
[Description("主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
///
///零件分类(0:表皮 1:骨架 3:气囊支架 4:开关支架 5:风道 6:HUD风道 7:格栅 8:中控支架 )
///
[Description("零件分类")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, JsonUtl = "/Dict/GetFixedComboxSource?kind=PRODUCTTYPE")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 140, DataAlign = DataAlign.center)]
public string PRODUCTTYPE { get; set; }
/////
/////零件条码
/////
//[Description("零件条码")]
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
//[InputType(inputType.text)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 120, DataAlign = DataAlign.center)]
//public string PRODUCTCODE { get; set; }
///
///物料类别
///
[Description("物料类别")]
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
//[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 140, DataAlign = DataAlign.center)]
public string MATERIAL_TYPE { get; set; }
///
///物料号
///
[Description("物料号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 140, DataAlign = DataAlign.center)]
public string MATERIAL_CODE { get; set; }
///
///零件状态(0:合格 1:返修 2:作废)
///
[Description("零件状态")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1, JsonUtl = "/Dict/GetFixedComboxSource?kind=PRODUCTSTATUS")]
[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.center)]
public string STATUS { get; set; }
///
///数量
///
[Description("数量")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 140, DataAlign = DataAlign.center)]
public int CAPACITY { get; set; }
}
}