Initial commit

This commit is contained in:
2026-07-03 16:37:12 +07:00
commit 63b8c1ea8b
1931 changed files with 640587 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
using System.ComponentModel.DataAnnotations;
namespace RobotNet10.MapEditor.Shared.DTOs.Requests;
/// <summary>
/// Request to create a new layout
/// </summary>
public class CreateLayoutRequest
{
[Required(ErrorMessage = "LayoutId is required")]
[StringLength(64, ErrorMessage = "LayoutId must not exceed 64 characters")]
public string LayoutId { get; set; } = string.Empty;
[Required(ErrorMessage = "LayoutName is required")]
[StringLength(256, ErrorMessage = "LayoutName must not exceed 256 characters")]
public string LayoutName { get; set; } = string.Empty;
[StringLength(10000, ErrorMessage = "Description must not exceed 10000 characters")]
public string? Description { get; set; }
public string? CreatedBy { get; set; }
}