Initial commit

This commit is contained in:
2026-07-03 16:31:37 +07:00
commit 899c7c637d
1939 changed files with 641750 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
using RobotNet10.MapEditor.Shared.DTOs.Edge;
namespace RobotNet10.MapEditor.Shared.DTOs.Requests;
/// <summary>
/// Request to create a new edge
/// Coordinates in METERS (world coordinates)
/// </summary>
public class CreateEdgeRequest
{
public Guid LayoutLevelId { get; set; }
/// <summary>
/// Start point X coordinate in METERS
/// </summary>
public double X1 { get; set; }
/// <summary>
/// Start point Y coordinate in METERS
/// </summary>
public double Y1 { get; set; }
/// <summary>
/// End point X coordinate in METERS
/// </summary>
public double X2 { get; set; }
/// <summary>
/// End point Y coordinate in METERS
/// </summary>
public double Y2 { get; set; }
/// <summary>
/// Optional edge name (if not provided, auto-generated)
/// </summary>
[System.ComponentModel.DataAnnotations.StringLength(256, ErrorMessage = "EdgeName must not exceed 256 characters")]
public string? EdgeName { get; set; }
/// <summary>
/// Optional edge description
/// </summary>
[System.ComponentModel.DataAnnotations.StringLength(10000, ErrorMessage = "EdgeDescription must not exceed 10000 characters")]
public string? EdgeDescription { get; set; }
/// <summary>
/// Optional vehicle properties for this edge
/// </summary>
public List<EdgeVehiclePropertyDto>? VehicleProperties { get; set; }
}