rama creada apartir de master en j
This commit is contained in:
@@ -3,6 +3,9 @@ using MongoDB.Bson;
|
||||
|
||||
namespace adas_core.Domain.Models.MongoModels;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a device entity within the application.
|
||||
/// </summary>
|
||||
public class Device
|
||||
{
|
||||
public ObjectId Id { get; set; }
|
||||
@@ -22,10 +25,16 @@ public class Device
|
||||
public DeviceSettings? Settings { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents the configuration settings for a device.
|
||||
/// </summary>
|
||||
public class DeviceSettings
|
||||
{
|
||||
public DeviceAction? Action { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Represents an action that can be performed on or by a device.
|
||||
/// </summary>
|
||||
public class DeviceAction
|
||||
{
|
||||
public DeviceActionType Type { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user