You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace Entity.DbModel.Station;
|
|
|
|
|
|
|
|
|
|
///<summary>
|
|
|
|
|
///设备报警记录
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarTable("equip_alarm_define")]
|
|
|
|
|
public partial class EquipAlarmDefine : BaseModel
|
|
|
|
|
{
|
|
|
|
|
public EquipAlarmDefine()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:id
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:设备类型编码
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "equip_type_code")]
|
|
|
|
|
public int EquipTypeCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:设备编码
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "equip_code")]
|
|
|
|
|
public string EquipCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:报警编码
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "error_code")]
|
|
|
|
|
public string ErrorCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:报警等级
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "error_level")]
|
|
|
|
|
public string ErrorLevel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:报警描述
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "error_msg")]
|
|
|
|
|
public string ErrorMsg { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:处理方法
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "process_method")]
|
|
|
|
|
public string ProcessMethod { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|