Files
CartriX/CartriX.Shared/DTOs/Location/QueryToListLocationsAndPrintersDto.cs
T

17 lines
437 B
C#

namespace CartriX.Shared.DTOs.Location
{
public class QueryToListLocationsAndPrintersDto
{
public int id { get; set; }
public string name { get; set; } = null!;
public List<Printer.QueryPrinterFromLocationDto> printers { get; set; } = null!;
public int countPrintersInLocation
{
get
{
return printers?.Count ?? 0;
}
}
}
}