using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI.Attribute;
using QMFrameWork.WebUI;

namespace QMAPP.MESReport.Web.Models.LineQTY
{
    /// <summary>
    /// 废品率统计 视图MODEL
    /// 于子清
    /// 2017-10-24
    /// </summary>
    public class WasteRateCountVModel : QDGModel
    {
        /// <summary>
        /// 起始日期
        /// </summary>
        [Description("起始日期")]
        [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)]
        [InputType(inputType.datebox)]
        public string START_DATE { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        [Description("结束日期")]
        [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)]
        [InputType(inputType.datebox)]
        public string END_DATE { get; set; }

        ///<summary>
        ///商品类型
        ///</summary>
        [Description("商品类型")]
        [HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetWList", MaxLength = 20, Width = 150)]
        [InputType(inputType.combobox)]
        [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
        public string MATERIAL_CODE { get; set; }

        ///<summary>
        ///统计类型
        ///</summary>
        [Description("统计类型")]
        [HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetTJList", MaxLength = 20, Width = 110)]
        [InputType(inputType.combobox)]
        public string TYPE_COUNT { get; set; }

    }
}