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

namespace EquipmentApi.Model.Dto
{
    public class Wo_TimeOutDto
    {
        /// <summary>
        /// id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 工单类型 1报修，2保养，3巡检
        /// </summary>
        public int wotype { get; set; } = 0;
        /// <summary>
        /// 工单id
        /// </summary>
        public string woid { get; set; } = "";
        /// <summary>
        /// 工单编号
        /// </summary>
        public string wocode { get; set; } = "";
        /// <summary>
        /// 超时原因
        /// </summary>
        public string timeoutreason { get; set; } = "";
        /// <summary>
        /// 主管确认是否超时
        /// 0 未确认，1超时，2不超时
        /// </summary>
        public int istimeout { get; set; } = 0;
        /// <summary>
        /// 运维员工
        /// </summary>
        //public string touser { get; set; } = "";
        public List<string> touser { get; set; }
        public List<string> tousername { get; set; }
        /// <summary>
        /// 确认主管
        /// </summary>
        public string manager { get; set; } = "";
        /// <summary>
        /// 工单是否完结
        /// </summary>
        public bool isover { get; set; } = false;
        /// <summary>
        /// 超时时长
        /// </summary>
        public int times { get; set; } = 0;
        /// <summary>
        /// 超时等级：自动识别=1，主管=2，总监=3，甲方=4
        /// </summary>
        public int grade { get; set; } = 0;
        /// <summary>
        /// 提交时间
        /// </summary>
        public DateTime createtime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool isdelete { get; set; } = false;
        /// <summary>
        /// 项目id
        /// </summary>
        public string projectid { get; set; } = "";
        /// <summary>
        /// 工单处理时间
        /// </summary>
        public DateTime wodealtime { get; set; }
    }
}
