using Siger.Middlelayer.Repository.Entities;
using System.Collections.Generic;

namespace Siger.Middlelayer.TpmRepository.Response
{
    public class ResponseAndonPlan
    {
        public int id { get; set; }
        /// <summary>
        /// Desc:产线
        /// Default:0
        /// Nullable:True
        /// </summary>

        public int? line { get; set; }
        public string line_name { get; set; }


        /// <summary>
        /// Desc:休息类型
        /// Default:
        /// Nullable:True
        /// </summary>

        public string content { get; set; }


        /// <summary>
        /// Desc:起始时间
        /// Default:0
        /// Nullable:True
        /// </summary>

        public int start { get; set; }


        /// <summary>
        /// Desc:结束时间
        /// Default:0
        /// Nullable:True
        /// </summary>

        public int end { get; set; }
        /// <summary>
        /// dt起始时间
        /// </summary>
        public string dtstart { get; set; }
        /// <summary>
        /// dt结束时间
        /// </summary>
        public string dtend { get; set; }

        /// <summary>
        /// 休息时长
        /// </summary>
        public double resttime { get; set; }


        /// <summary>
        /// Desc:创建人
        /// Default:0
        /// Nullable:True
        /// </summary>

        public int? creator { get; set; }
        public string creator_name { get; set; }


        /// <summary>
        /// Desc:
        /// Default:0
        /// Nullable:True
        /// </summary>

        public int? projectid { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:0
        /// Nullable:True
        /// </summary>

        public long? createtime { get; set; }

        /// <summary>
        /// Desc:异常类型
        /// Default:0
        /// Nullable:True
        /// </summary>

        public int? expectionid { get; set; }


        /// <summary>
        /// Desc:设备id
        /// Default:0
        /// Nullable:True
        /// </summary>

        public int? machine { get; set; }
        public string machine_name { get; set; }
    }

    public class ResponseLineForAndonPlan
    {
        /// <summary>
        /// 设备id
        /// </summary>
        public int machineid { get; set; }
        /// <summary>
        /// 产线id
        /// </summary>
        public int lineid { get; set; }
        /// <summary>
        /// 工站id
        /// </summary>
        public int stationid { get; set; }
        /// <summary>
        /// 显示名称
        /// </summary>
        public string title { get; set; }
    }
}
