using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.Repository.Domain
{
    [SugarTable("lasa_managedevicehms")]
    public class LasaManageDeviceHms
    {
        /// <summary>
        /// 报警ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }

        /// <summary>
        /// uuid
        /// </summary>
        public string HmsId { get; set; }

        /// <summary>
        /// tid
        /// </summary>
        public string TId { get; set; }

        /// <summary>
        /// bid
        /// </summary>
        public string BId { get; set; }

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

        /// <summary>
        /// 等级
        /// </summary>
        public int? Level { get; set; }

        /// <summary>
        /// 1:device manage; 2: media; 3: hms
        /// </summary>
        public int? Module { get; set; }

        /// <summary>
        /// 消息密钥
        /// </summary>
        public string HmsKey { get; set; }

        /// <summary>
        /// 中文报警
        /// </summary>
        public string MessageZh { get; set; }

        /// <summary>
        /// 英文报警
        /// </summary>
        public string MessageEn { get; set; }

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

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 是否解除
        /// </summary>
        public int IsResolved { get; set; }
        /// <summary>
        /// 告警码
        /// </summary>
        public string Code { get; set; }
    }
}
