RobotApp/RobotApp.Common.Shares/Dtos/RobotConfigDto.cs
Đăng Nguyễn aa2146e383 update
2025-10-30 13:34:44 +07:00

43 lines
1.2 KiB
C#

using RobotApp.Common.Shares.Enums;
namespace RobotApp.Common.Shares.Dtos;
#nullable disable
public record RobotConfigDto
{
public Guid Id { get; set; }
public NavigationType NavigationType { get; set; }
public double RadiusWheel { get; set; }
public double Width { get; set; }
public double Length { get; set; }
public double Height { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
public bool IsActive { get; set; }
public string ConfigName { get; set; }
public string Description { get; set; }
}
public record UpdateRobotConfigDto
{
public NavigationType NavigationType { get; set; }
public double RadiusWheel { get; set; }
public double Width { get; set; }
public double Length { get; set; }
public double Height { get; set; }
public string ConfigName { get; set; }
public string Description { get; set; }
}
public record CreateRobotConfigDto
{
public NavigationType NavigationType { get; set; }
public double RadiusWheel { get; set; }
public double Width { get; set; }
public double Length { get; set; }
public double Height { get; set; }
public string ConfigName { get; set; }
public string Description { get; set; }
}