using APT.BaseData.Domain.Entities;
using APT.BaseData.Domain.Entities.FM;
using APT.BaseData.Domain.Enums;
using APT.Infrastructure.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;

namespace APT.MS.Domain.Entities.BS
{
    /// <summary>
    /// 隐患等级最长延期整改天数
    /// </summary>
    [Description("隐患等级最长延期整改天数")]
    public class T_BS_RISK_LEVEL_DELAY_DAYS : MesEntityBase
    {
        /// <summary>
        /// 问题等级  重大 = 10,A = 20,B = 30,C = 40,D = 50,
        /// T_BS_CHECK_MAIN 中 有 这边冗余
        /// </summary>
        [Description("问题等级")]
        [EnumName("BSQuestionLevelEnum")]
        [FormFieldEdit]
        [FormFieldTable]
        [FormFieldQuery]
        public int QUESTION_LEVEL { get; set; }

        /// <summary>
        /// 最长可延期天数
        /// </summary>
        [Description("最长可延期天数")]
        [FormFieldEdit]
        [FormFieldTable]
        [FormFieldQuery]
        public int MAX_DELAY_DAYS { get; set; } = 2;
    }
}