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