Files
Denso/srcs/RobotNet10/FleetManager/RobotNet10.FleetManager.Shared/DTOs/RobotModel/RobotModelUsageInfoDto.cs
2026-07-03 16:31:37 +07:00

19 lines
486 B
C#

namespace RobotNet10.FleetManager.Shared.DTOs.RobotModel;
/// <summary>
/// Robot model usage information DTO
/// </summary>
public class RobotModelUsageInfoDto
{
public Guid Id { get; set; }
public string ModelName { get; set; } = string.Empty;
public int RobotCount { get; set; }
/// <summary>
/// Indicates whether this model can be deleted (no robots using it)
/// </summary>
public bool CanDelete => RobotCount == 0;
}