using System.Collections.Generic;

namespace Siger.Middlelayer.TpmRepository.Response
{
    public class ResponseAppIndexItem
    {
        public List<ItemModel> abnormallist { get; set; } = new List<ItemModel>();

        public int abnormalcount { get; set; } = 0;

        public List<ItemModel> todolist { get; set; } = new List<ItemModel>();

        public int todocount { get; set; } = 0;
    }

    public class ItemModel
    {
        public List<string> Location { get; set; } = new List<string>();

        public int itemid { get; set; }

        public string content { get; set; }

        /// <summary>
        /// 1 维修 2计划
        /// </summary>
        public int type { get; set; }
    }

    public class PlanTemp
    {
        public int plantimeid { get; set; }

        public int planid { get; set; }

        public int machineid { get; set; }

        public string instruction_mid { get; set; }

        public int instruction_time { get; set; }

        public int mode { get; set; }

        public int type { get; set; }

        public int level { get; set; }

        public int information { get; set; }
    }

    public class PlanByMachine
    {
        public int machineid { get; set; }

        public int count { get; set; }

        public List<PlanTemp> PlanTimeList { get; set; }
    }

    public class ResponseAppMouthItemCount
    {
        /// <summary>
        /// 报修数量
        /// </summary>
        public int submitrepairnum { get; set; }

        /// <summary>
        /// 维修数量
        /// </summary>
        public int repairnum { get; set; }

        /// <summary>
        /// 计划数量
        /// </summary>
        public int plannum { get; set; }

        /// <summary>
        /// 盘点数量
        /// </summary>
        public int Inventorynum { get; set; }
    }

    public class RepairTemp
    {
        public int repairid { get; set; }

        public int machineid { get; set; }

        public int report_level { get; set; }

        public int status { get; set; }

        public int spacetime { get; set; }

        public int level { get; set; }

        public int push_status { get; set; }

        public int difference { get; set; }

        public int type { get; set; }

        public int machinelevel { get; set; }
    }
}
