Files
BQP/srcs/RobotNet10/Shared/RobotNet10.MapEditor.Shared/DTOs/Responses/SaveLayoutDataResponse.cs
2026-07-13 09:25:40 +07:00

40 lines
980 B
C#

namespace RobotNet10.MapEditor.Shared.DTOs.Responses;
/// <summary>
/// Response from batch save operation
/// </summary>
public class SaveLayoutDataResponse
{
/// <summary>
/// Whether the save operation was successful
/// </summary>
public bool Success { get; set; }
/// <summary>
/// Error message if save failed
/// </summary>
public string? ErrorMessage { get; set; }
/// <summary>
/// Number of nodes updated
/// </summary>
public int NodesUpdated { get; set; }
/// <summary>
/// Number of edges updated
/// </summary>
public int EdgesUpdated { get; set; }
/// <summary>
/// List of node IDs that were not found (skipped)
/// </summary>
public List<Guid> SkippedNodeIds { get; set; } = new();
/// <summary>
/// List of edge IDs that were not found (skipped)
/// </summary>
public List<Guid> SkippedEdgeIds { get; set; } = new();
}