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