using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace AMESCoreStudio.WebApi.DTO.AMES
{
    /// <summary>
    /// WipQuery Select Dto
    /// </summary>
    public class WipQueryDto
    {
        /// <summary>
        /// 工單ID
        /// </summary>
        public int wipID { get; set; }

        /// <summary>
        /// 工單號碼
        /// </summary>
        public string wipNo { get; set; }

        /// <summary>
        /// 工單數量
        /// </summary>
        public int planQTY { get; set; } = 0;

        /// <summary>
        /// 生產單位
        /// </summary>
        public string unitNo { get; set; }

        /// <summary>
        /// 生產單位Name
        /// </summary>
        public string unitName { get; set; }

        /// <summary>
        /// 線別ID
        /// </summary>
        public int? lineID { get; set; } = 0;

        /// <summary>
        /// 線別Name
        /// </summary>
        public string lineDesc { get; set; }

        /// <summary>
        /// 料號
        /// </summary>
        public string itemNo { get; set; }

        /// <summary>
        /// 工單狀態
        /// </summary>
        public string statusNo { get; set; }

        /// <summary>
        /// 預計開工日期
        /// </summary>
        public DateTime wipScheduleDate { get; set; }

        /// <summary>
        /// 預計完工日期
        /// </summary>
        public DateTime wipDueDate { get; set; }

        /// <summary>
        /// 廠商代碼
        /// </summary>
        public string factoryNo { get; set; }

        /// <summary>
        /// 廠商中文廠名
        /// </summary>
        public string factoryNameCh { get; set; }

        /// <summary>
        /// 工單描述
        /// </summary>
        public string description { get; set; }

        /// <summary>
        /// 工單建立日期
        /// </summary>
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 開工日
        /// </summary>
        public string workDate { get; set; }

        /// <summary>
        /// 檢驗日
        /// </summary>
        public string fqcDate { get; set; }

        /// <summary>
        /// 工單類型
        /// </summary>
        public string wipType { get; set; }

        /// <summary>
        /// 工單是否通知
        /// </summary>
        public string wipCheck { get; set; } = "N";
    }
}