20 lines
551 B
C#
20 lines
551 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace RobotNet10.FleetManager.Shared.DTOs.Robot;
|
|
|
|
/// <summary>
|
|
/// Request to update an existing robot
|
|
/// </summary>
|
|
public class UpdateRobotRequest
|
|
{
|
|
[StringLength(64, ErrorMessage = "RobotId must not exceed 64 characters")]
|
|
public string? RobotId { get; set; }
|
|
|
|
[StringLength(256, ErrorMessage = "Name must not exceed 256 characters")]
|
|
public string? Name { get; set; }
|
|
|
|
public Guid? ModelId { get; set; }
|
|
|
|
public Guid? MapId { get; set; }
|
|
}
|