Files
IOT_API/Model/Dto/Inspection/DataForwardRuleDto.cs
T
2026-08-28 15:20:52 +08:00

42 lines
1.3 KiB
C#
Raw 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.Inspection
{
/// <summary>
/// 数据转发规则 DTOId 由 long 改为 string,避免前端精度丢失)
/// </summary>
public class DataForwardRuleDto
{
/// <summary>主键 Idlong → string</summary>
public string Id { get; set; }
/// <summary>删除状态(0、未删除;1、已删除)</summary>
public byte IsDel { get; set; }
/// <summary>创建时间</summary>
public DateTime? CreateTime { get; set; }
/// <summary>转发规则名称</summary>
public string ForwardName { get; set; }
/// <summary>源设备类型(空表示全部设备)</summary>
public string SourceDeviceType { get; set; }
/// <summary>转发间隔(秒)</summary>
public int ForwardInterval { get; set; }
/// <summary>通知方式(Email / Sms / Http</summary>
public string NotifyType { get; set; }
/// <summary>目标地址(邮箱 / 手机号 / 接口URL</summary>
public string TargetAddress { get; set; }
/// <summary>是否启用</summary>
public bool Enabled { get; set; }
/// <summary>最近转发时间</summary>
public DateTime? LastForwardTime { get; set; }
/// <summary>备注</summary>
public string Remark { get; set; }
}
}