mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
17 lines
437 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|