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.

27 lines
878 B
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 Newtonsoft.Json;
using FreeSql.DataAnnotations;
using System;
namespace Txgy.EWS.Client.Entity
{
[JsonObject(MemberSerialization.OptIn), Table(Name = "alarmrecord")]
public class AlarmRecordEntity
{
[JsonProperty, Column(DbType = "int")]
public int EventId { get; set; }
[JsonProperty, Column(DbType = "varchar(254)")]
public string AlarmTime { get; set; }
[JsonProperty, Column(DbType = "int")]
public int AlarmLevel { get; set; }
/// <summary>
/// 是否处理0=未处理;1=已处理;
/// </summary>
[JsonProperty, Column(DbType = "int")]
public int Processed { get; set; } = 0;
[JsonProperty, Column(DbType = "varchar(254)")]
public string ProcessTime { get; set; } = "";
[JsonProperty]
public double Energy { get; set; }
}
}