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

namespace Siger.Middlelayer.TpmRepository.Response
{
    public class ResponsePlanCalendar
    {
        public ResponsePlanCalendar()
        {
            if (data == null)
            {
                data = new List<ResponseStatusList>();
            }
        }
        public string location { get; set; }
        public int machineid { get; set; }
        public List<ResponseStatusList> data { get; set; }
    }

    public class ResponseStatusList
    {
        public int status { get; set; }
        public int num { get; set; }
        public DateTime date { get; set; }
    }

    public class ResponsePlanMachineItem
    {
        public ResponsePlanMachineItem()
        {
            if (data == null)
            {
                data = new List<ResponsePlanMachineItemEx>();
            }
        }
        public List<ResponsePlanMachineItemEx> data;
        public int id { get; set; }
        public int status { get; set; }
        public string startTime { get; set; }
    }

    public class ResponsePlanMachineItemEx
    {
        public string item { get; set; }
        public int costTime { get; set; }
    }


    public class ResponsePlanMachineChanged
    {
        public string machine { get; set; }
        public string item { get; set; }
        public int original { get; set; }
        public int now { get; set; }
        public int editor { get; set; }
        public string user { get; set; }
        public int edit_time { get; set; }
    }


}
