
namespace Siger.Middlelayer.QmsRepository.Entities
{
    ///<summary>
    ///
    ///</summary>
    public class siger_andon_expection_type : QmsEntityBase
    {
        public siger_andon_expection_type()
        {
        }

        /// <summary>
        /// Desc:异常名称
        /// Default:
        /// Nullable:False
        /// </summary>

        public string name { get; set; }


        /// <summary>
        /// Desc:上级
        /// Default:0
        /// Nullable:False
        /// </summary>

        public int parent { get; set; }


        /// <summary>
        /// Desc:级别
        /// Default:0
        /// Nullable:False
        /// </summary>

        public int level { get; set; }


        /// <summary>
        /// Desc:推送流程code
        /// Default:
        /// Nullable:False
        /// </summary>

        public string process_code { get; set; }


        /// <summary>
        /// Desc:异常责任岗位
        /// Default:0
        /// Nullable:False
        /// </summary>

        public int usergroup { get; set; }

        /// <summary>
        /// 第二责任岗位
        /// </summary>
        public int second_usergroup { get; set; }

        /// <summary>
        /// 错误级别
        /// L1:1, L2:2, L3:3
        /// </summary>
        public int errorlevel { get; set; }

        /// <summary>
        /// 是否纳入oee计算
        /// </summary>
        public int is_caloee { get; set; } = 1;

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

        /// <summary>
        /// andon type(1->tpm andon)(2->qms andon)
        /// </summary>
        public int type { get; set; }
        /// <summary>
        /// 颜色
        /// </summary>
        public string color { get; set; } = "#01B1FF";
    }
}
