using System.ComponentModel.DataAnnotations;
namespace RobotNet10.MapEditor.Shared.DTOs.Requests;
///
/// Request to create a new station
///
public class CreateStationRequest
{
public Guid LayoutLevelId { get; set; }
[Required(ErrorMessage = "StationId is required")]
[StringLength(64, ErrorMessage = "StationId must not exceed 64 characters")]
public string StationId { get; set; } = string.Empty;
[StringLength(256, ErrorMessage = "StationName must not exceed 256 characters")]
public string? StationName { get; set; }
[StringLength(10000, ErrorMessage = "StationDescription must not exceed 10000 characters")]
public string? StationDescription { get; set; }
public double? StationHeight { get; set; }
///
/// X coordinate in METERS
///
public double X { get; set; }
///
/// Y coordinate in METERS
///
public double Y { get; set; }
///
/// Theta orientation in radians (optional)
///
public double? Theta { get; set; }
///
/// Node IDs to link as interaction nodes
///
public List? InteractionNodeIds { get; set; }
}