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

namespace APT.MS.Domain.Entities.OG
{
    /// <summary>
    /// 相关方安全表现评估表
    /// </summary>
    [Description("相关方安全表现评估表")]
    public class T_OG_RELATED_ESTIMATE : MesEntityBase
    {
        /// <summary>
        /// 相关方名称ID
        /// </summary>
        [Description("相关方名称")]
        [DataFieldForeignKey("Nav_Related")]
        [FormFieldTable]
        [FormFieldQuery]
        [FormFieldEdit]
        public Guid RELATED_ID { get; set; }
        /// <summary>
        /// 导航属性：相关方基本信息表
        /// </summary>
        [Description("导航属性：相关方基本信息表")]
        public T_OG_RELATED Nav_Related { get; set; }        
        /// <summary>
        /// 导航：相关方安全表现评估表估项目中间表
        /// </summary>
        [Description("相关方安全表现评估表估项目中间表")]
        [FormFieldEdit]
        public ICollection<T_OG_RELATED_ESTIMATE_DETAIL> Nav_Details { get; set; }
    }
}