Files

33 lines
984 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace Model.Dto.Config
{
/// <summary>
/// 设备日志 DTOId 由 long 改为 string,避免前端精度丢失)
/// </summary>
public class DeviceLogDto
{
/// <summary>主键 Idlong → string</summary>
public string Id { get; set; }
/// <summary>设备Id</summary>
public string DeviceId { get; set; }
/// <summary>设备编号</summary>
public string DeviceCode { get; set; }
/// <summary>日志级别(Info/Warn/Error</summary>
public string Level { get; set; }
/// <summary>日志类型(连接/通讯/采集/指令/系统)</summary>
public string LogType { get; set; }
/// <summary>日志内容</summary>
public string Message { get; set; }
/// <summary>记录时间</summary>
public DateTime LogTime { get; set; }
/// <summary>创建时间</summary>
public DateTime? CreateTime { get; set; }
}
}