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.OH
{
    /// <summary>
    /// 监测结果统计与分析汇总
    /// </summary>
    [Description("监测结果统计与分析汇总")]
    public class T_OH_HAZARD_MONITOR_RESULT_SUM : MesEntityBase
    {
        /// <summary>
        /// 分析年度
        /// </summary>
        [Description("分析年度")]
        [FormFieldTable]
        [FormFieldEdit]
        [FormFieldQuery]
        public int YEAR { get; set; }

        /// <summary>
        /// 汇总日期
        /// </summary>
        [Description("汇总日期")]
        [FormFieldTable]
        [FormFieldEdit]
        [FormFieldQuery]
        public DateTime? TIME { get; set; }

        /// <summary>
        /// 分析比率
        /// </summary>
        [Description("分析比率")]
        public decimal? RATIO { get; set; }

        /// <summary>
        /// 分析比率
        /// </summary>
        [Description("分析比率")]
        [DataFieldIngore]
        public string STR_RATIO { get; set; }

        /// <summary>
        /// 状态
        /// OHHazardMonitorSumStatusEnum
        /// </summary>
        [Description("状态")]
        [FormFieldTable]
        [FormFieldEdit]
        [FormFieldQuery]
        public PFStandardStatus STATUS { get; set; }

        /// <summary>
        /// 导航: 监测结果
        /// </summary>
        [Description("导航: 监测结果")]
        public virtual ICollection<T_OH_HAZARD_MONITOR_RESULT> Nav_ListMonitorResult { get; set; }


        /// <summary>
        /// 操作状态 0 各个记录人 操作  1 安环部操作
        /// OHHazardMonitorSumStatusEnum
        /// </summary>
        [Description("操作类型")]
        [DataFieldIngore]
        public int EDITTYPE { get; set; }

    }
}