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

namespace APT.MS.Domain.Entities.AE
{
    /// <summary>
    /// 询问人员中间表
    /// </summary>
    [Description("询问人员中间表")]
    public class T_AE_INVESTIGATION_RECORD_ASK_USERS : MesEntityBase
    {
        /// <summary>
        /// 勘察记录表ID
        /// </summary>
        [Description("勘察记录表ID")]
        [DataFieldForeignKey("Nav_Record", "Nav_UsersAsk")]
        public Guid RECORD_ID { get; set; }

        /// <summary>
        /// 导航: 勘察记录表
        /// </summary>
        [Description("导航: 勘察记录表")]
        public virtual T_AE_INVESTIGATION_RECORD Nav_Record { get; set; }

        /// <summary>
        /// 询问人员
        /// </summary>
        [Description("询问人员")]
        [DataFieldForeignKey("Nav_User")]
        public Guid USER_ID { get; set; }

        /// <summary>
        /// 导航属性：用户
        /// </summary>
        [Description("导航属性：用户")]
        public virtual T_FM_USER Nav_User { get; set; }
    }
}
