using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.ToolRepository.Entities
{
    /// <summary>
    /// siger_alert_condition Entity Model
    /// </summary>   

    public class siger_alert_condition : ToolEntityBase
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int id { get; set; }

        /// <summary>
        /// 条件大类
        /// </summary>
        public string condition_type { get; set; }

        /// <summary>
        /// 条件的子类
        /// </summary>
        public string condition_param { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string condition { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int status { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string comment { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public double Default { get; set; }

        /// <summary>
        /// 默认m值
        /// </summary>
        public double default_m { get; set; }

        /// <summary>
        /// 是否开启
        /// </summary>
        public int is_open { get; set; }
    }
}
