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.09.22
    /// </summary>
    public class LineQtyConditionModel : QDGModel
    {
        /// <summary>
        /// 工作中心
        /// </summary>
        [Description("工作中心")]
        [HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetAllWorkCenterComboxSource", MaxLength = 20, Width = 150)]
        [InputType(inputType.combobox)]
        public string WORKCENTER_CODE { get; set; }

        /// <summary>
        /// 工序编码
        /// </summary>
        [Description("工序")]
        [HTMLInput(UpdateRead = false,MaxLength = 20)]
        [InputType(inputType.text)]
        public string WORKCELL_CODE { get; set; }

        /// <summary>
        /// 设备编码
        /// </summary>
        [Description("设备")]
        [HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetMachine", MaxLength = 20, Width = 150)]
        [InputType(inputType.combobox)]
        public string EQUIPMENT_CODE { 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; }

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

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

        /// <summary>
        /// 统计开始日期
        /// </summary>
        [Description("统计开始日期")]
        [HTMLInput(UpdateRead = false,MaxLength = 10)]
        [InputType(inputType.datebox)]
        public string START_STATIS_DATE { get; set; }

        /// <summary>
        /// 统计开始截止日期
        /// </summary>
        [Description("统计开始截止日期")]
        [HTMLInput(UpdateRead = false, MaxLength = 10)]
        [InputType(inputType.datebox)]
        public string END_STATIS_DATE { get; set; }
    }
}