Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user