ly/Model/AlarmRepDto.cs

29 lines
891 B
C#
Raw Permalink Normal View History

2025-03-22 12:16:22 +00:00
using Newtonsoft.Json;
using SqlSugar;
namespace LY.App.Model
{
public class AlarmRepDto
{
public string batchId { get; set; }
//非数据库字段
public DateTime startTime { get; set; }
//非数据库字段
public DateTime endTime { get; set; }
public double duration { get; set; }
public string model { get; set; }
public string sn { get; set; }
public double Frequency { get; set; }
//非数据库字段
public bool IsWhitelist { get; set; }
[SqlSugar.SugarColumn(IsIgnore = true)]
public string Whitelist { get; set; }
[JsonConverter(typeof(ValueToStringConverter))]
public long positionId { get; set; }
public string positionName { get; set; }
2025-08-22 17:38:27 +00:00
public int alarmLevel { get; set; }
2025-03-22 12:16:22 +00:00
//public long position_id { get; set; }
}
}