Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using adas_core.Domain.Enums;
|
||||
using adas_core.Domain.Models.MongoModels;
|
||||
using MongoDB.Bson;
|
||||
|
||||
namespace adas_core.Domain.Models.DTO;
|
||||
|
||||
public class DeviceDto
|
||||
{
|
||||
public DeviceEvent? Event { get; set; }
|
||||
public DeviceType DeviceType { get; set; }
|
||||
public string? MacAddr { get; set; }
|
||||
public string? SerialNumber { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public int? Battery { get; set; }
|
||||
public string? Color { get; set; }
|
||||
public bool Connected { get; set; }
|
||||
public bool Ready { get; set; }
|
||||
public string? Uuid { get; set; }
|
||||
public string? Key { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
public List<ObjectId>? PointOfCareIds { get; set; } = new();
|
||||
public DeviceSettings? Settings { get; set; }
|
||||
}
|
||||
public class DeviceEvent
|
||||
{
|
||||
public ClickType? ClickType { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user