43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
using RobotNet10.FleetManager.Shared.Enums;
|
|
|
|
namespace RobotNet10.FleetManager.Shared.DTOs.RobotModel;
|
|
|
|
/// <summary>
|
|
/// Robot model data transfer object
|
|
/// </summary>
|
|
public class RobotModelDto
|
|
{
|
|
public Guid Id { get; set; }
|
|
|
|
public string ModelName { get; set; } = string.Empty;
|
|
|
|
public double Length { get; set; }
|
|
|
|
public double Width { get; set; }
|
|
|
|
public int ImageWidth { get; set; }
|
|
|
|
public int ImageHeight { get; set; }
|
|
|
|
public double NavigationPointX { get; set; }
|
|
|
|
public double NavigationPointY { get; set; }
|
|
|
|
public NavigationType NavigationType { get; set; }
|
|
|
|
/// <summary>
|
|
/// Foreign key to VehicleType (in MapManager database)
|
|
/// Links RobotModel to VehicleType for map filtering
|
|
/// </summary>
|
|
public Guid? VehicleTypeId { get; set; }
|
|
|
|
public DateTime CreatedDate { get; set; }
|
|
|
|
public DateTime? UpdatedDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Number of robots using this model
|
|
/// </summary>
|
|
public int RobotCount { get; set; }
|
|
}
|