26 lines
709 B
C#
26 lines
709 B
C#
using adas_core.Domain.Enums;
|
|
using adas_core.Domain.Models.DTO.Display;
|
|
using MongoDB.Bson;
|
|
|
|
namespace adas_core.Domain.Models.Responses;
|
|
|
|
public class DisplayConfigMinimalResponse
|
|
{
|
|
public DisplayConfigMinimalResponse()
|
|
{
|
|
}
|
|
|
|
public DisplayConfigMinimalResponse(DisplayConfigSummary displayConfig, bool? isInUse = false)
|
|
{
|
|
Id = displayConfig.Id;
|
|
Type = displayConfig.Type;
|
|
Hospital = displayConfig.Name;
|
|
IsInUse = isInUse;
|
|
}
|
|
|
|
public ObjectId Id { get; set; }
|
|
public DisplayConfigEnums.DisplayType Type { get; set; } = DisplayConfigEnums.DisplayType.Unknown;
|
|
public string? Hospital { get; set; }
|
|
|
|
public bool? IsInUse { get; set; }
|
|
} |