42 lines
1.2 KiB
C#
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; }
|
|
}
|