using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.Repository.Data.Tpm
{
    public class GetStatusRepairList
    {
        public int repairid { get; set; }

        public int createtime { get; set; }

        public int taketime { get; set; }

        public int signtime { get; set; }

        public int checktime { get; set; }

        public int repairtime { get; set; }

        public string repairremark { get; set; }

        public string remark { get; set; }

        public int status { get; set; }

        public int faultid { get; set; }

        public int real_raultid { get; set; }

        public int machineid { get; set; }

        public int completetime { get; set; }

        public int offlinestatus { get; set; }

        public int mid { get; set; }

        public int takemid { get; set; }

        public int signmid { get; set; }

        public int checkmid { get; set; }

        public int repairmid { get; set; }

        public int completemid { get; set; }

        public int report_level { get; set; }

        public string add_repairmid { get; set; }

        public string fault_description { get; set; }

        public string images { get; set; }

        public string username { get; set; }

        public string work_code { get; set; }


        /// <summary>
        /// 是否免打扰
        /// </summary>
        public int mutestatus { get; set; }

        public string answer { get; set; }

        /// <summary>
        /// 序列号
        /// </summary>
        public string serial_number { get; set; }

        /// <summary>
        /// 故障类型
        /// </summary>
        public string faultlist { get; set; }

        public int markself { get; set; }

        public string createtimeformat { get; set; }

        public int offlinetime { get; set; }

        /// <summary>
        /// 失效模式
        /// </summary>
        public string faultcontent { get; set; }

        public string sparepartid { get; set; }

        public string fault_desc_img { get; set; }

        public string repair_process { get; set; }
        public string work_order { get; set; }
        public int expection { get; set; }

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

        public List<sparepartidcount> sparepartoutArr { get; set; } = new List<sparepartidcount>();

        public List<string> location = new List<string>();
        public string levelLocation { get; set; }
        public List<int> usermids { get; set; } = new List<int>();
    }

    public class sparepartidcount
    {
        public int sparepartid { get; set; }

        public int num { get; set; }
    }
}
