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.StatisticalAnalysis
{
public class MendStatisticsModel : QDGModel
{
///
/// 工序类别
///
[Description("统计类别")]
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=MENDSTATICTYPE", MaxLength = 1)]
[InputType(inputType.combobox)]
public string MENDTYPE { get; set; }
///
/// 日期
///
[Description("开始日期")]
[HTMLInput(UpdateRead = true, MaxLength = 20)]
//[InputType(inputType.datebox)]
[InputType(inputType.dateTimeBox)]
public string CREATEDATESTART { get; set; }
///
/// 至
///
[Description("至")]
[HTMLInput(UpdateRead = true, MaxLength = 20)]
//[InputType(inputType.datebox)]
[InputType(inputType.dateTimeBox)]
public string CREATEDATEEND { get; set; }
///
/// 分组数量和
///
[Description("分组数量和")]
public string Counts { get; set; }
public string results;
public string arr;
///
/// 零件分类
///
[Description("缺陷位置")]
[HTMLInput(UpdateRead = false, required = true, Width=70, MaxLength = 2, JsonUtl = "/Dict/GetFixedComboxSource?kind=HORIZONTAL")]
[InputType(inputType.combobox)]
public string HORIZONTAL { get; set; }
///
/// 零件分类
///
[Description("缺陷位置")]
[HTMLInput(UpdateRead = false, required = true, Width = 70, MaxLength = 2, JsonUtl = "/Dict/GetFixedComboxSource?kind=VERTICAL")]
[InputType(inputType.combobox)]
public string VERTICAL { get; set; }
///
/// 班次信息名称
///
[Description("生产班次")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, JsonUtl = "/Dict/GetFixedComboxSource?kind=PRODUCESHIFTTCODE")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string PRODUCESHIFTTCODE { get; set; }
///
/// 返修原因
///
[Description("缺陷类型")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/Dict/GetDefectDropDownList")]
[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MENDREASON { get; set; }
}
}