Initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user