refactor:删除了DeviceDto,VariableDto,VariableTableDto,改为使用DMS.Core中的实体

This commit is contained in:
2025-10-07 17:51:24 +08:00
parent 94ad940e03
commit b753e5ea73
52 changed files with 291 additions and 463 deletions

View File

@@ -1,3 +1,5 @@
using DMS.Core.Models;
namespace DMS.Application.DTOs;
/// <summary>
@@ -5,8 +7,7 @@ namespace DMS.Application.DTOs;
/// </summary>
public class CreateDeviceWithDetailsDto
{
public DeviceDto Device { get; set; }
public VariableTableDto VariableTable { get; set; }
public Device Device { get; set; } public VariableTable VariableTable { get; set; }
public MenuBeanDto DeviceMenu { get; set; } // 如果需要包含菜单信息
public MenuBeanDto VariableTableMenu { get; set; } // 如果需要包含菜单信息