Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using adas_core.Domain.Models.MongoModels;
|
||||
using MongoDB.Bson;
|
||||
|
||||
namespace adas_core.Domain.Models.DTO;
|
||||
|
||||
public class UnitInfoDto
|
||||
{
|
||||
[JsonConstructor]
|
||||
public UnitInfoDto()
|
||||
{
|
||||
}
|
||||
|
||||
public UnitInfoDto(Unit? unit)
|
||||
{
|
||||
Id = unit?.Id;
|
||||
Name = unit?.Name ?? string.Empty;
|
||||
Title = unit?.Name ?? string.Empty;
|
||||
}
|
||||
|
||||
public ObjectId? Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Title { get; set; } = string.Empty;
|
||||
public string? ConfigObservationId { get; set; }
|
||||
public long? Admissions { get; set; }
|
||||
public long? Discharges { get; set; }
|
||||
public long? Displays { get; set; }
|
||||
public long? Patients { get; set; }
|
||||
public long? PointOfCares { get; set; }
|
||||
public long? VirtualPointOfCares { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user