按照软件设计文档开始重构代码01
This commit is contained in:
13
DMS.Application/DTOs/VariableMqttAliasDto.cs
Normal file
13
DMS.Application/DTOs/VariableMqttAliasDto.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace DMS.Application.DTOs;
|
||||
|
||||
/// <summary>
|
||||
/// 用于在UI上显示和管理变量与MQTT服务器关联别名的DTO。
|
||||
/// </summary>
|
||||
public class VariableMqttAliasDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int VariableId { get; set; }
|
||||
public int MqttServerId { get; set; }
|
||||
public string MqttServerName { get; set; } // 用于UI显示关联的服务器名称
|
||||
public string Alias { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user