using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Models
{
///
/// 设备报警记录
///
[SugarTable("DMS_RECORD_ALARM_INFO"), TenantAttribute("mes")]
public class BaseDeviceAlarmVal
{
///
/// 备 注:主键标识
/// 默认值:
///
[SugarColumn(ColumnName="ALARM_ID" , OracleSequenceName = "PARAMRECORD_SEQ_ID", IsPrimaryKey = true) ]
public decimal ALARM_ID { get; set; }
///
/// 备 注:设备台账id,关联dms_base_device_ledger的device_id
/// 默认值:
///
[SugarColumn(ColumnName="DEVICE_ID" ) ]
public decimal DEVICE_ID { get; set; }
///
/// 备 注:报警开始时间
/// 默认值:
///
[SugarColumn(ColumnName="ALARM_BEGIN_TIME" ) ]
public DateTime? ALARM_BEGIN_TIME { get; set; }
///
/// 备 注:报警结束时间
/// 默认值:
///
[SugarColumn(ColumnName="ALARM_END_TIME" ) ]
public DateTime? ALARM_END_TIME { get; set; }
///
/// 备 注:报警持续时间(ms)
/// 默认值:
///
[SugarColumn(ColumnName="CONTINUE_TIME" ) ]
public decimal? CONTINUE_TIME { get; set; }
}
}