track/src/SJZY.Track.Application.Contract/Dtos/Warning/WarningRuleDto.cs
hardstylewyl b4d98a5d89 fix:修复预警规则主体查询名称反参错误
add-param:增加预警规则主体反参
 - CreateTime 创建时间
2025-03-06 17:22:02 +08:00

58 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 SJZY.Track.Application.Contract.Dtos.Warning;
/// <summary>
/// 预警规则主体
/// </summary>
public sealed class WarningRuleDto
{
/// <summary>
/// 规则主体唯一id
/// </summary>
public int Id { get; set; }
/// <summary>
/// 子系统id
/// </summary>
public int SubSystemId { get; set; } //子系统id
/// <summary>
/// 子系统名称
/// </summary>
public string SubSystemName { get; set; }
/// <summary>
/// 客户id
/// </summary>
public int CustomId { get; set; } //客户id
/// <summary>
/// 客户简称
/// </summary>
public string CustomName { 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; }
}