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>
    /// 节拍统计
    /// 于子清
    /// 2017-10-30
    /// </summary>
    public class ProduceCycleTimeVModel : 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/GetMachineListComboxSource", MaxLength = 10, Width = 150)]
        [InputType(inputType.combobox)]
        [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
        public string MACHINECODDE { get; set; }

        /// <summary>
        /// 班次编码
        /// </summary>
        [Description("班次")]
        [HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetShiftList", MaxLength = 20, Width = 150)]
        [InputType(inputType.combobox)]
        public string SHIFT_CODE { get; set; }

    }
}