EquipmentAlarmTypeDetail.cs 749 Bytes
using FreeSql.DataAnnotations;

namespace HHECS.DAQShared.Models
{
    /// <summary>
    /// 设备报警类型详情
    /// </summary>
    [Table(Name = "daq_equipment_alarm_type_detail", DisableSyncStructure = true)]
    public class EquipmentAlarmTypeDetail : BaseEntityCU<Guid>
    {
        /// <summary>
        /// 报警类型Id
        /// </summary>
        [Column(IsNullable = false)]
        public Guid EquipmentAlarmTypeId { get; set; }

        /// <summary>
        /// 触发值
        /// </summary>
        [Column(IsNullable = false)]
        public string Value { get; set; } = null!;

        /// <summary>
        /// 报警文本
        /// </summary>
        public string AlarmMessage { get; set; } = null!;
    }
}