using APT.BaseData.Domain.Entities;
using APT.Infrastructure.Core;
using APT.BaseData.Domain.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace APT.MS.Domain.Entities.CM
{
    /// <summary>
    /// 演练活动记录评估项目类型
    /// </summary>
    [Description("演练活动记录评估项目类型")]
    public class T_CM_DRILL_ESTIMATE_ITEM_TYPE : MesEntityBase
    {
        /// <summary>
        /// 演练活动记录评估项目类型编号
        /// </summary>
        [Description("演练活动记录评估项目类型编号")]
        [FormFieldTable]
        [FormFieldEdit]
        [FormFieldQuery]
        [DataFieldLength(50)]
        [CUnique]
        [CodeRule((int)PFCodeRuleType.应急管理)]
        public string CODE { get; set; }

        /// <summary>
        /// 演练活动记录评估项目类型名称
        /// </summary>
        [Description("演练活动记录评估项目类型名称")]
        [FormFieldTable]
        [FormFieldEdit]
        [FormFieldQuery]
        [DataFieldLength(200)]
        public string NAME { get; set; }
    }
}
