RobotApp/RobotApp.Common.Shares/Dtos/RobotConfigDto.cs
Đăng Nguyễn aea55d52f1 update
2025-10-31 15:03:37 +07:00

42 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 Description { get; set; }
}
public record CreateRobotConfigDto
{
public string ConfigName { get; set; }
public string Description { 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; }
}