23 lines
725 B
C#
23 lines
725 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using RobotNet10.MapEditor.Shared.Models;
|
|
|
|
namespace RobotNet10.MapEditor.Shared.DTOs.Requests;
|
|
|
|
/// <summary>
|
|
/// Request to create a new layout level
|
|
/// </summary>
|
|
public class CreateLayoutLevelRequest
|
|
{
|
|
[Required(ErrorMessage = "LayoutLevelId is required")]
|
|
[StringLength(64, ErrorMessage = "LayoutLevelId must not exceed 64 characters")]
|
|
public string LayoutLevelId { get; set; } = string.Empty;
|
|
public int LevelOrder { get; set; }
|
|
|
|
/// <summary>
|
|
/// Optional coordinate system configuration
|
|
/// If not provided, defaults will be used
|
|
/// </summary>
|
|
public CoordinateSystemInfo? CoordinateSystem { get; set; }
|
|
}
|
|
|