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

namespace Siger.Middlelayer.TpmRepository.Response
{
    public class ResponseAndonExpection
    {
        public ResponseAndonExpection()
        {
            if (children == null)
            {
                children = new List<ResponseAndonExpection>();
            }
        }
        public string title { get; set; }
        public int level { get; set; }
        public int id { get; set; }
        public int parent { get; set; }
        public string first { get; set; }
        public string second { get; set; }
        public string third { get; set; }
        public string process_code { get; set; }
        public string process_name { get; set; }
        public int usergroup { get; set; }
        public string usergroup_name { get; set; }
        public List<ResponseAndonExpection> children { get; set; }
        public bool expand { get; set; } = true;
        public string label { get; set; }
        public int value { get; set; }
        public int second_usergroup { get; set; }
        public string secondusergroup_name { get; set; }
        public int errorlevel { get; set; }
        public string errorlevelname { get; set; }
        /// <summary>
        /// 是否纳入oee计算
        /// </summary>
        public int is_caloee { get; set; }

        /// <summary>
        /// 是否跳安灯流程
        /// </summary>
        public int is_passprocess { get; set; }
    }
}
