29 lines
683 B
C#
29 lines
683 B
C#
namespace RobotNet10.FleetManager.Shared.DTOs.Robot;
|
|
|
|
/// <summary>
|
|
/// Robot data transfer object
|
|
/// </summary>
|
|
public class RobotDto
|
|
{
|
|
public Guid Id { get; set; }
|
|
|
|
public string RobotId { get; set; } = string.Empty;
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
public Guid ModelId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Robot model name (from navigation property)
|
|
/// </summary>
|
|
public string? ModelName { get; set; }
|
|
|
|
public Guid? MapId { get; set; }
|
|
|
|
public string? MapName { get; set; }
|
|
|
|
public DateTime CreatedDate { get; set; }
|
|
|
|
public DateTime? UpdatedDate { get; set; }
|
|
}
|