track/src/TrackCenter.Application/Dtos/Warning/WarningRuleDto.cs
2025-08-05 10:41:46 +08:00

58 lines
1.2 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 TrackCenter.Application.Dtos.Warning;
/// <summary>
/// 预警规则主体
/// </summary>
public sealed class WarningRuleDto
{
/// <summary>
/// 规则主体唯一id
/// </summary>
public int Id { get; set; }
/// <summary>
/// 应用
/// </summary>
public string AppKey { get; set; } //应用
/// <summary>
/// 应用名称
/// </summary>
public string AppName { get; set; }
/// <summary>
/// 客户
/// </summary>
public string Customer { get; set; }
/// <summary>
/// 预警规则名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 是否启用
/// </summary>
public bool IsEnabled { get; set; }
/// <summary>
/// 预警类型,1:运输时效,2:回传时效,3:完整预警
/// </summary>
public int WarningType { get; set; }
/// <summary>
/// 规则版本,用于标识规则产物(如预警信息)
/// </summary>
public string Version { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdateTime { get; set; }
}