Initial commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
namespace RobotNet10.MapEditor.Shared.DTOs.Edge;
|
||||
|
||||
/// <summary>
|
||||
/// Edge data transfer object with full details including vehicle properties
|
||||
/// </summary>
|
||||
public class EdgeDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid LevelId { get; set; }
|
||||
public string EdgeId { get; set; } = string.Empty;
|
||||
public string? EdgeName { get; set; }
|
||||
public string? EdgeDescription { get; set; }
|
||||
|
||||
public Guid StartNodeId { get; set; }
|
||||
public Guid EndNodeId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Start node details (for convenience)
|
||||
/// </summary>
|
||||
public Node.NodeDto? StartNode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// End node details (for convenience)
|
||||
/// </summary>
|
||||
public Node.NodeDto? EndNode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Vehicle-specific properties for this edge
|
||||
/// </summary>
|
||||
public List<EdgeVehiclePropertyDto>? VehicleProperties { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user