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.
72 lines
2.2 KiB
72 lines
2.2 KiB
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace zzz.Model.Entity
|
|
{
|
|
/// <summary>
|
|
/// 异常表 基础数据
|
|
/// </summary>
|
|
[SugarTable("eqmt_collect_except_master")]
|
|
public class EqmtExceptMaster
|
|
{
|
|
/// <summary>
|
|
/// id
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "自增主键")]
|
|
public long id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
|
|
public DateTime? gmt_create { get; set; } = DateTime.Now;
|
|
|
|
/// <summary>
|
|
/// 修改时间
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
|
|
public DateTime? gmt_modified { get; set; }
|
|
|
|
/// <summary>
|
|
/// 收集唯一ID
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "收集唯一ID")]
|
|
public string collect_id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 设备id
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "设备id")]
|
|
public int eqmt_id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 报警类型 1:ON报警停机 2:ON报警不停机
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "报警类型 1:ON报警停机 2:ON报警不停机")]
|
|
public int? except_type { get; set; }
|
|
|
|
/// <summary>
|
|
/// 报警类型 1:ON报警停机 2:ON报警不停机
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "报警类型名称 1:ON报警停机 2:ON报警不停机")]
|
|
public string except_type_name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 寄存器地址
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "寄存器地址")]
|
|
public string registor_address { get; set; }
|
|
|
|
/// <summary>
|
|
/// 报警内容
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "报警内容")]
|
|
public string except_message { get; set; }
|
|
|
|
}
|
|
}
|