rama creada apartir de master en j

This commit is contained in:
jrojas
2026-06-26 10:29:23 +02:00
parent 319fd3dfb0
commit c1517fda87
2810 changed files with 1927392 additions and 25392 deletions
@@ -1,5 +1,8 @@
namespace adas_core.Domain.Models.DTO.Display;
/// <summary>
/// Represents a data transfer object (DTO) that encapsulates color configuration settings for transferring color-related data between application layers or systems.
/// </summary>
public class ColorConfigDto
{
public LevelColors? Level { get; set; }
@@ -12,6 +15,9 @@ public class ColorConfigDto
public TestColors? Test { get; set; }
public ProcedureColors? Procedure { get; set; }
/// <summary>
/// Represents configuration settings that define the visual appearance, such as colors, themes, or styling preferences.
/// </summary>
public class AppearanceSettings
{
public string? TextColor { get; set; }
@@ -24,6 +30,12 @@ public class ColorConfigDto
public double? IconInvertColor { get; set; }
}
/// <summary>
/// Represents the color settings used for rendering numeric values within a status box.
/// </summary>
/// <remarks>
/// This type is intended to encapsulate the visual color configuration associated with the numeric portion of a status box display.
/// </remarks>
public class StatusBoxNumberColors
{
public AppearanceSettings? Reserved { get; set; }
@@ -35,6 +47,9 @@ public class ColorConfigDto
public AppearanceSettings? Altable { get; set; }
}
/// <summary>
/// Provides a centralized set of color values used throughout the therapy-related user interface or visual components.
/// </summary>
public class TherapyColors
{
public AppearanceSettings? Default { get; set; }
@@ -43,6 +58,9 @@ public class ColorConfigDto
public AppearanceSettings? InProgress { get; set; }
}
/// <summary>
/// Provides a collection of color values intended for use in test scenarios.
/// </summary>
public class TestColors
{
public AppearanceSettings? Default { get; set; }
@@ -51,6 +69,9 @@ public class ColorConfigDto
public AppearanceSettings? Expired { get; set; }
}
/// <summary>
/// Represents a collection of color definitions used to visually represent procedures.
/// </summary>
public class ProcedureColors
{
public AppearanceSettings? Default { get; set; }
@@ -59,6 +80,12 @@ public class ColorConfigDto
public AppearanceSettings? Expired { get; set; }
}
/// <summary>
/// Represents a set of colors associated with level rendering or visual state.
/// </summary>
/// <remarks>
/// Used to centralize color definitions related to level display, allowing consistent theming across level-related UI elements.
/// </remarks>
public class LevelColors
{
public string? Level1 { get; set; }
@@ -68,6 +95,9 @@ public class ColorConfigDto
public string? Level5 { get; set; }
}
/// <summary>
/// Represents a collection of predefined text color values or definitions for styling text output.
/// </summary>
public class TextColors
{
public string? Normal { get; set; }
@@ -77,6 +107,9 @@ public class ColorConfigDto
public string? Expired { get; set; }
}
/// <summary>
/// Provides a set of predefined color values used for rendering arrows in charts or visualizations.
/// </summary>
public class ArrowColors
{
public string? Normal { get; set; }
@@ -85,6 +118,9 @@ public class ColorConfigDto
public string? Improve { get; set; }
}
/// <summary>
/// Represents a collection or definition of colors used to visually style an indicator.
/// </summary>
public class IndicatorColors
{
public string? Empty { get; set; }
@@ -95,6 +131,9 @@ public class ColorConfigDto
public string? EmptyBackground { get; set; }
}
/// <summary>
/// Represents a collection or definition of colors used for rendering graphs and chart elements.
/// </summary>
public class GraphColors
{
public string? Normal { get; set; }
@@ -4,6 +4,9 @@ using MongoDB.Bson;
namespace adas_core.Domain.Models.DTO.Display;
/// <summary>
/// Represents a data transfer object used to create a new display configuration.
/// </summary>
public class CreateDisplayConfigDto
{
public DisplayConfigEnums.DisplayType Type { get; set; } =
@@ -14,6 +17,9 @@ public class CreateDisplayConfigDto
public string? DisplayConfigIdTemplate { get; set; }
}
/// <summary>
/// Represents a data transfer object used to create a display configuration card.
/// </summary>
public class CreateDisplayConfigCardDto
{
public CardConfig? CardConfig { get; set; }
@@ -5,6 +5,9 @@ using MongoDB.Bson;
namespace adas_core.Domain.Models.DTO.Display;
/// <summary>
/// Represents a data transfer object for display configuration settings.
/// </summary>
public class DisplayConfigDto
{
public ObjectId Id { get; set; }
@@ -1,5 +1,11 @@
namespace adas_core.Domain.Models.DTO.Display;
/// <summary>
/// Represents a data transfer object that encapsulates display configuration and location information.
/// </summary>
/// <remarks>
/// This DTO is used to transfer display configuration settings along with their associated location data between application layers.
/// </remarks>
public class DisplayConfigLocationDto
{
public string? DisplayName { get; set; }
@@ -3,6 +3,9 @@ using MongoDB.Bson;
namespace adas_core.Domain.Models.DTO.Display;
/// <summary>
/// Represents a summary of display configuration settings, providing a consolidated view of display-related parameters.
/// </summary>
public class DisplayConfigSummary
{
public ObjectId Id { get; set; }
@@ -3,6 +3,9 @@ using MongoDB.Bson;
namespace adas_core.Domain.Models.DTO.Display;
/// <summary>
/// Represents a minimal data transfer object that encapsulates a subset of fields from a <see cref="MongoModels.Display"/> model for lightweight serialization or transfer.
/// </summary>
public class DisplayMinimalDto(MongoModels.Display display)
{
public ObjectId Id { get; set; } = display.Id;
@@ -2,6 +2,9 @@
namespace adas_core.Domain.Models.DTO.Display;
/// <summary>
/// Represents a data transfer object used for displaying nurse information, extending the base display configuration functionality provided by <see cref="DisplayConfigDto"/>.
/// </summary>
public class DisplayNurseDto : DisplayConfigDto
{
public List<BannerItem>? HomeBanner { get; set; }
@@ -2,6 +2,12 @@
namespace adas_core.Domain.Models.DTO.Display;
/// <summary>
/// Represents a data transfer object that combines display-related information with associated permissions.
/// </summary>
/// <remarks>
/// This DTO is intended for transferring presentation data together with the permissions required to view or interact with it.
/// </remarks>
public class DisplayWithPermissionsDto
{
public DisplayPermissionTypes? Permissions { get; set; }
@@ -2,6 +2,9 @@ using adas_core.Domain.Models.MongoModels;
namespace adas_core.Domain.Models.DTO.Display;
/// <summary>
/// Represents a data transfer object that provides a minimal representation of a display list for transfer between application layers.
/// </summary>
public class MinimalDisplayListDto
{
public List<MinimalDisplaySection> DisplayNurse { get; set; } = [];
@@ -3,6 +3,9 @@ using adas_core.Domain.Models.MongoModels;
namespace adas_core.Domain.Models.DTO.Display;
/// <summary>
/// Represents a data transfer object for a smart display configuration, extending the base display configuration with additional smart display properties.
/// </summary>
public class SmartDisplayDto : DisplayConfigDto
{
public bool? HasCameras { get; set; }
@@ -1,5 +1,11 @@
namespace adas_core.Domain.Models.DTO.Display;
/// <summary>
/// Represents a data transfer object used to update the name of a display configuration.
/// </summary>
/// <remarks>
/// This DTO is intended to carry the necessary information to modify the name of an existing display configuration entity.
/// </remarks>
public class UpdateDisplayConfigNameDto
{
public string DisplayName { get; set; } = string.Empty;