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

namespace QMAPP.MESReport.Web.Models.LineQTY
{
    /// <summary>
    /// 生产完成率分析 视图MODEL
    /// 于子清
    /// 2017-10-20
    /// </summary>
    public class QTYCompletionRateVModel : 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 = false, required = true, MaxLength = 20, Width = 120)]
        [InputType(inputType.combobox)]
        public string MATERIAL_NAME { 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; }

        ///<summary>
        ///统计类型
        ///</summary>
        [Description("工作中心")]
        [HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetWorkcenterComboxSource", MaxLength = 20, Width = 160)]
        [InputType(inputType.combobox)]
        public string WORKCENTER_CODE { get; set; }
    }
}