using APT.BaseData.Domain.Entities;
using APT.Infrastructure.Core;
using APT.MS.Domain.Entities.WB;
using APT.MS.Domain.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace APT.MS.Domain.Entities.WB
{
    /// <summary>
    /// 外包单位作业安全表
    /// </summary>
    [Description("外包单位作业安全表")]
    public class T_WB_JOB_SAFE_MEASURE_ENUM : MesEntityBase
    {
        /// <summary>
        /// 作业类别
        /// </summary>
        [Description("作业类别")]
        [FormFieldTable]
        [FormFieldQuery]
        [FormFieldEdit]
        [DataFieldForeignKey("Nav_Type")]
        public Guid TYPE_ID { get; set; }
        /// <summary>
        /// 导航: 作业类别
        /// </summary>
        [Description("导航: 作业类别")]
        public T_WB_JOB_TYPE_ENUM Nav_Type { get; set; }
        /// <summary>
        /// 导航: 安全措施
        /// </summary>
        [Description("安全措施")]
        [FormFieldEdit]
        public ICollection<T_WB_JOB_SAFE_MEASURE_ENUM_DETAIL> Nav_Detail { get; set; }
    }
}
