Initial commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user