using APT.Infrastructure.Core;
using System;
using System.ComponentModel;

namespace APT.BaseData.Domain.Entities.Platform
{
	/// <summary>
	/// 缺陷代码
	/// </summary>
	[Description("缺陷代码")]
    [IgnoreT4] public class T_PF_DEFECT_CODE : TreeEntityBase<T_PF_DEFECT_CODE>
    {
        /// <summary>
        /// 不良代码 
        /// </summary>
        public string CODE { get; set; }

        /// <summary>
        /// 不良名称
        /// </summary>
        public string NAME { get; set; }

        /// <summary>
        /// 缺陷等级
        /// </summary>
        public Guid BAD_GRADE_ID { get; set; }

        /// <summary>
        /// 缺陷等级表
        /// </summary>
        public virtual T_PF_DEFECT_GRADE Nav_DefectGrade { get; set; }
    }
}
