using System;

namespace CncModels.Entity
{
    /// <summary>
    /// cnc_alert 告警表
    /// </summary>
    public class Alert
    {
        /// <summary>主键ID</summary>
        public long Id { get; set; }

        /// <summary>告警类型</summary>
        public string AlertType { get; set; }

        /// <summary>机床ID</summary>
        public int? MachineId { get; set; }

        /// <summary>采集地址ID</summary>
        public int? CollectAddressId { get; set; }

        /// <summary>标题</summary>
        public string Title { get; set; }

        /// <summary>详情</summary>
        public string Detail { get; set; }

        /// <summary>是否已解决</summary>
        public int IsResolved { get; set; }

        /// <summary>解决时间</summary>
        public DateTime? ResolvedAt { get; set; }

        /// <summary>创建时间</summary>
        public DateTime CreatedAt { get; set; }
    }
}
