You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.5 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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