using SqlSugar; using System; using System.Collections.Generic; using System.Security.Principal; using System.Text; namespace SlnMesnac.Model.domain { [SugarTable("dms_record_alarm_info"), TenantAttribute("mes")] public class DmsRecordAlarmInfo { /// /// 主键标识 /// [SugarColumn(ColumnName = "alarm_id", IsPrimaryKey = true, IsIdentity = true)] public long AlarmId { get; set; } /// /// 设备台账id,关联dms_base_device_ledger的device_id /// [SugarColumn(ColumnName = "device_id")] public long DeviceId { get; set; } /// /// 设备报警规则id,关联dms_base_alarm_rule的alarm_rule_id /// [SugarColumn(ColumnName = "alarm_rule_id")] public long AlarmRuleId { get; set; } /// /// 报警开始时间 /// [SugarColumn(ColumnName = "alarm_begin_time")] public DateTime? AlarmBeginTime { get; set; } /// /// 报警结束时间 /// [SugarColumn(ColumnName = "alarm_end_time")] public DateTime? AlarmEndTime { get; set; } /// /// 报警持续时间(ms) /// [SugarColumn(ColumnName = "continue_time")] public long? ContinueTime { get; set; } /// /// 报警原因 /// [SugarColumn(ColumnName = "alarm_reason")] public string AlarmReason { get; set; } /// /// 报警数据 /// [SugarColumn(ColumnName = "alarm_data")] public string AlarmData { get; set; } /// /// 报警状态(0未处理 1人工已处理 2自动恢复) /// [SugarColumn(ColumnName = "alarm_status")] public string AlarmStatus { get; set; } /// /// 处理建议 /// [SugarColumn(ColumnName = "handle_suggest")] public string HandleSuggest { get; set; } /// /// 通知状态(0未通知 1已通知) /// [SugarColumn(ColumnName = "notice_status")] public string NoticeStatus { get; set; } /// /// 处理人员 /// [SugarColumn(ColumnName = "handle_user")] public string HandleUser { get; set; } /// /// 处理时间 /// [SugarColumn(ColumnName = "handle_time")] public DateTime? HandleTime { get; set; } /// /// 原因分析 /// [SugarColumn(ColumnName = "cause_analysis")] public string CauseAnalysis { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "remark")] public string Remark { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "create_by")] public string CreateBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "create_time")] public DateTime? CreateTime { get; set; } /// /// 更新人 /// [SugarColumn(ColumnName = "update_by")] public string UpdateBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "update_time")] public DateTime? UpdateTime { get; set; } } }