按照软件设计文档开始重构代码01
This commit is contained in:
14
DMS.Application/DTOs/CreateDeviceDto.cs
Normal file
14
DMS.Application/DTOs/CreateDeviceDto.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using DMS.Core.Enums;
|
||||
|
||||
namespace DMS.Application.DTOs;
|
||||
|
||||
/// <summary>
|
||||
/// 用于创建新设备时传输数据的DTO。
|
||||
/// </summary>
|
||||
public class CreateDeviceDto
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public ProtocolType Protocol { get; set; }
|
||||
public string IpAddress { get; set; }
|
||||
public int Port { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user