=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===

This commit is contained in:
julian
2026-06-28 02:50:05 -07:00
parent a19fb90902
commit 586f02a2ca
654 changed files with 5260 additions and 0 deletions
@@ -3,6 +3,7 @@
/// <summary>
/// Represents a data transfer object for transferring appointment information between application layers or services.
/// </summary>
/// <!-- aidoc:v1 sig=ed5b9a8 -->
public class AppointmentDto
{
public string PatientNumber { get; set; } = string.Empty;
+1
View File
@@ -3,6 +3,7 @@ namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object for conveying asset information between application layers or services.
/// </summary>
/// <!-- aidoc:v1 sig=d1871a9 -->
public class AssetDto
{
public string? Name { get; set; }
@@ -3,6 +3,7 @@
/// <summary>
/// Represents a data transfer object used to convey configuration observation information between application layers.
/// </summary>
/// <!-- aidoc:v1 sig=564b645 -->
public class ConfigObservationDto
{
public string Id { get; set; } = string.Empty;
@@ -5,6 +5,7 @@ namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object used to create a user along with authentication details.
/// </summary>
/// <!-- aidoc:v1 sig=9e4b61f -->
public class CreateUserWithAuthDto
{
public User User { get; set; } = new();
+2
View File
@@ -7,6 +7,7 @@ namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object (DTO) used to encapsulate and transfer device-related information between application layers or services.
/// </summary>
/// <!-- aidoc:v1 sig=eb8d200 -->
public class DeviceDto
{
public DeviceEvent? Event { get; set; }
@@ -31,6 +32,7 @@ public class DeviceDto
/// <remarks>
/// This class is intended to be used as a data carrier for device event notifications or processing.
/// </remarks>
/// <!-- aidoc:v1 sig=d49f516 -->
public class DeviceEvent
{
public ClickType? ClickType { get; set; }
@@ -3,6 +3,7 @@
/// <summary>
/// Represents a data transfer object (DTO) for conveying diagnosis information between application layers or services.
/// </summary>
/// <!-- aidoc:v1 sig=9d64d60 -->
public class DiagnosisDto
{
public string PatientNumber { get; set; } = string.Empty;
@@ -3,6 +3,7 @@ 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>
/// <!-- aidoc:v1 sig=bc3afa0 -->
public class ColorConfigDto
{
public LevelColors? Level { get; set; }
@@ -18,6 +19,7 @@ public class ColorConfigDto
/// <summary>
/// Represents configuration settings that define the visual appearance, such as colors, themes, or styling preferences.
/// </summary>
/// <!-- aidoc:v1 sig=070355d -->
public class AppearanceSettings
{
public string? TextColor { get; set; }
@@ -36,6 +38,7 @@ public class ColorConfigDto
/// <remarks>
/// This type is intended to encapsulate the visual color configuration associated with the numeric portion of a status box display.
/// </remarks>
/// <!-- aidoc:v1 sig=41d803c -->
public class StatusBoxNumberColors
{
public AppearanceSettings? Reserved { get; set; }
@@ -50,6 +53,7 @@ public class ColorConfigDto
/// <summary>
/// Provides a centralized set of color values used throughout the therapy-related user interface or visual components.
/// </summary>
/// <!-- aidoc:v1 sig=550c282 -->
public class TherapyColors
{
public AppearanceSettings? Default { get; set; }
@@ -61,6 +65,7 @@ public class ColorConfigDto
/// <summary>
/// Provides a collection of color values intended for use in test scenarios.
/// </summary>
/// <!-- aidoc:v1 sig=b0381d4 -->
public class TestColors
{
public AppearanceSettings? Default { get; set; }
@@ -72,6 +77,7 @@ public class ColorConfigDto
/// <summary>
/// Represents a collection of color definitions used to visually represent procedures.
/// </summary>
/// <!-- aidoc:v1 sig=676d773 -->
public class ProcedureColors
{
public AppearanceSettings? Default { get; set; }
@@ -86,6 +92,7 @@ public class ColorConfigDto
/// <remarks>
/// Used to centralize color definitions related to level display, allowing consistent theming across level-related UI elements.
/// </remarks>
/// <!-- aidoc:v1 sig=f693cfc -->
public class LevelColors
{
public string? Level1 { get; set; }
@@ -98,6 +105,7 @@ public class ColorConfigDto
/// <summary>
/// Represents a collection of predefined text color values or definitions for styling text output.
/// </summary>
/// <!-- aidoc:v1 sig=d12f899 -->
public class TextColors
{
public string? Normal { get; set; }
@@ -110,6 +118,7 @@ public class ColorConfigDto
/// <summary>
/// Provides a set of predefined color values used for rendering arrows in charts or visualizations.
/// </summary>
/// <!-- aidoc:v1 sig=abbea19 -->
public class ArrowColors
{
public string? Normal { get; set; }
@@ -121,6 +130,7 @@ public class ColorConfigDto
/// <summary>
/// Represents a collection or definition of colors used to visually style an indicator.
/// </summary>
/// <!-- aidoc:v1 sig=5c596cd -->
public class IndicatorColors
{
public string? Empty { get; set; }
@@ -134,6 +144,7 @@ public class ColorConfigDto
/// <summary>
/// Represents a collection or definition of colors used for rendering graphs and chart elements.
/// </summary>
/// <!-- aidoc:v1 sig=83d1667 -->
public class GraphColors
{
public string? Normal { get; set; }
@@ -7,6 +7,7 @@ namespace adas_core.Domain.Models.DTO.Display;
/// <summary>
/// Represents a data transfer object used to create a new display configuration.
/// </summary>
/// <!-- aidoc:v1 sig=2d892f7 -->
public class CreateDisplayConfigDto
{
public DisplayConfigEnums.DisplayType Type { get; set; } =
@@ -20,6 +21,7 @@ public class CreateDisplayConfigDto
/// <summary>
/// Represents a data transfer object used to create a display configuration card.
/// </summary>
/// <!-- aidoc:v1 sig=887faf2 -->
public class CreateDisplayConfigCardDto
{
public CardConfig? CardConfig { get; set; }
@@ -8,6 +8,7 @@ namespace adas_core.Domain.Models.DTO.Display;
/// <summary>
/// Represents a data transfer object for display configuration settings.
/// </summary>
/// <!-- aidoc:v1 sig=99d0425 -->
public class DisplayConfigDto
{
public ObjectId Id { get; set; }
@@ -6,6 +6,7 @@
/// <remarks>
/// This DTO is used to transfer display configuration settings along with their associated location data between application layers.
/// </remarks>
/// <!-- aidoc:v1 sig=fa37034 -->
public class DisplayConfigLocationDto
{
public string? DisplayName { get; set; }
@@ -6,6 +6,7 @@ namespace adas_core.Domain.Models.DTO.Display;
/// <summary>
/// Represents a summary of display configuration settings, providing a consolidated view of display-related parameters.
/// </summary>
/// <!-- aidoc:v1 sig=c5b0fcb -->
public class DisplayConfigSummary
{
public ObjectId Id { get; set; }
@@ -6,6 +6,7 @@ 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>
/// <!-- aidoc:v1 sig=42b5500 -->
public class DisplayMinimalDto(MongoModels.Display display)
{
public ObjectId Id { get; set; } = display.Id;
@@ -5,6 +5,7 @@ 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>
/// <!-- aidoc:v1 sig=84008b2 -->
public class DisplayNurseDto : DisplayConfigDto
{
public List<BannerItem>? HomeBanner { get; set; }
@@ -8,6 +8,7 @@ namespace adas_core.Domain.Models.DTO.Display;
/// <remarks>
/// This DTO is intended for transferring presentation data together with the permissions required to view or interact with it.
/// </remarks>
/// <!-- aidoc:v1 sig=2f55888 -->
public class DisplayWithPermissionsDto
{
public DisplayPermissionTypes? Permissions { get; set; }
@@ -5,6 +5,7 @@ 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>
/// <!-- aidoc:v1 sig=9405a12 -->
public class MinimalDisplayListDto
{
public List<MinimalDisplaySection> DisplayNurse { get; set; } = [];
@@ -6,6 +6,7 @@ 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>
/// <!-- aidoc:v1 sig=653991f -->
public class SmartDisplayDto : DisplayConfigDto
{
public bool? HasCameras { get; set; }
@@ -6,6 +6,7 @@
/// <remarks>
/// This DTO is intended to carry the necessary information to modify the name of an existing display configuration entity.
/// </remarks>
/// <!-- aidoc:v1 sig=4ec9b5b -->
public class UpdateDisplayConfigNameDto
{
public string DisplayName { get; set; } = string.Empty;
@@ -6,6 +6,7 @@ namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object for a master list, used to transfer collection data between application layers.
/// </summary>
/// <!-- aidoc:v1 sig=4a4e2ff -->
public class MasterListDto
{
public ObjectId Id { get; set; }
@@ -10,6 +10,7 @@ namespace adas_core.Domain.Models.DTO;
/// <remarks>
/// This DTO packages a <see cref="MasterList"/> together with the configured <c>pageSize</c> and a list of <see cref="UnitInfoDto"/> entries for transport across application boundaries.
/// </remarks>
/// <!-- aidoc:v1 sig=e8bee3d -->
public class MasterListWithPaginatedOptionsDto(MasterList masterList, int pageSize, List<UnitInfoDto> units)
{
public ObjectId Id { get; set; } = masterList.Id;
@@ -3,6 +3,7 @@
/// <summary>
/// Represents a data transfer object for an observation alarm, used to encapsulate and transfer alarm-related information between application layers.
/// </summary>
/// <!-- aidoc:v1 sig=f8120d4 -->
public class ObservationAlarmDto
{
public string? PatientNumber { get; set; }
@@ -3,6 +3,7 @@
/// <summary>
/// Represents a data transfer object for an observation, used to transfer observation data between application layers or services.
/// </summary>
/// <!-- aidoc:v1 sig=76fadf5 -->
public class ObservationDto
{
public string PatientNumber { get; set; } = string.Empty;
@@ -8,6 +8,7 @@ namespace adas_core.Domain.Models.DTO;
/// <remarks>
/// Typically used to convey paired pagination metadata, such as a page number together with a page size or total count, in request or response payloads.
/// </remarks>
/// <!-- aidoc:v1 sig=24f9a08 -->
public class PaginationPairDto
{
public PaginationFilter ListFilter { get; set; } = new();
@@ -3,6 +3,7 @@
/// <summary>
/// Represents a data transfer object used to encapsulate and transfer patient information between application layers or services.
/// </summary>
/// <!-- aidoc:v1 sig=59e4bee -->
public class PatientDto
{
public string PatientNumber { get; set; } = string.Empty;
@@ -5,6 +5,7 @@ namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object that encapsulates point of contact and unit information for transfer between application layers or systems.
/// </summary>
/// <!-- aidoc:v1 sig=98b87a1 -->
public class PocAndUnitDto
{
public List<MinimalPocAndUnitDto> PocList { get; set; } = [];
@@ -13,6 +14,7 @@ public class PocAndUnitDto
/// <summary>
/// Represents a minimal data transfer object encapsulating point of consumption and unit information.
/// </summary>
/// <!-- aidoc:v1 sig=e2d607e -->
public class MinimalPocAndUnitDto
{
public string? PocName { get; set; }
@@ -8,6 +8,7 @@ namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object for point-of-care information, used to transfer point-of-care data between application layers or services.
/// </summary>
/// <!-- aidoc:v1 sig=15d3efb -->
public class PointOfCareDto
{
@@ -38,6 +39,7 @@ public class PointOfCareDto
/// <summary>
/// Represents a data transfer object (DTO) for point-of-care configuration settings, used to transfer configuration data between layers or systems.
/// </summary>
/// <!-- aidoc:v1 sig=f9fb377 -->
public class PointOfCareConfigurationDto
{
public List<LightBeacon> BeaconList { get; set; } = [];
+1
View File
@@ -5,6 +5,7 @@ namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object for conveying pump-related information between application layers.
/// </summary>
/// <!-- aidoc:v1 sig=c1749e0 -->
public class PumpDto
{
public string PatientNumber { get; set; } = string.Empty;
@@ -5,6 +5,7 @@ namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object used to convey information about a recording alert between application layers or services.
/// </summary>
/// <!-- aidoc:v1 sig=480bad5 -->
public class RecordingAlertDto
{
public string? PatientNumber { get; set; }
@@ -3,6 +3,7 @@
/// <summary>
/// Represents a data transfer object for conveying treatment information between application layers.
/// </summary>
/// <!-- aidoc:v1 sig=b0dd4e4 -->
public class TreatmentDto
{
public string PatientNumber { get; set; } = string.Empty;
@@ -7,6 +7,7 @@ namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object that encapsulates information about a unit.
/// </summary>
/// <!-- aidoc:v1 sig=6fcba76 -->
public class UnitInfoDto
{
/// <summary>
@@ -3,6 +3,7 @@
/// <summary>
/// Represents a data transfer object used to update the name and description of a list.
/// </summary>
/// <!-- aidoc:v1 sig=8a6822d -->
public class UpdateListNameAndDescriptionDto
{
public string? Name { get; set; }
@@ -5,6 +5,7 @@ namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object used to transfer updated master list details between application layers.
/// </summary>
/// <!-- aidoc:v1 sig=95ee98b -->
public class UpdateMasterListDetailsDto
{
public bool? CanAddElement { get; set; }
@@ -5,6 +5,7 @@ namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object used to update an existing observation.
/// </summary>
/// <!-- aidoc:v1 sig=459b127 -->
public class UpdateObservationDto
{
public ConfigObservation? OldConfigObservationItem { get; set; }
@@ -5,6 +5,7 @@ namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object used to update an option master list.
/// </summary>
/// <!-- aidoc:v1 sig=459af04 -->
public class UpdateOptionMasterListDto
{
public OptionList? UpdatedOption { get; set; }
@@ -3,6 +3,7 @@
/// <summary>
/// Represents a data transfer object used to encapsulate the information required to update a user's password.
/// </summary>
/// <!-- aidoc:v1 sig=d670943 -->
public class UpdatePasswordDto
{
public string OldPassword { get; set; } = string.Empty;
@@ -6,6 +6,7 @@ namespace adas_core.Domain.Models.DTO;
/// <summary>
/// Represents a data transfer object used to update a list of unit identifiers.
/// </summary>
/// <!-- aidoc:v1 sig=c8a8700 -->
public class UpdateUnitIdListDto
{
public ObjectId UnitId { get; set; }
@@ -16,6 +17,7 @@ public class UpdateUnitIdListDto
/// Returns a string representation of the <see cref="UpdateUnitIdListDto"/> instance, including the formatted entries of its <c>MasterListData</c> collection.
/// </summary>
/// <returns>A string in the format <c>UpdateUnitIdListDto[...</c> containing the concatenated <c>MasterListData</c> values.</returns>
/// <!-- aidoc:v1 sig=d27f326 body=dc5f015 -->
public override string ToString()
{
List<string> items = [];
@@ -30,6 +32,7 @@ public class UpdateUnitIdListDto
/// <summary>
/// Represents a data container for a master list, serving as a centralized collection of items used for reference or aggregation purposes.
/// </summary>
/// <!-- aidoc:v1 sig=843ba2e -->
public class MasterListData
{
public ObjectId? MasterListId { get; set; }
@@ -40,6 +43,7 @@ public class MasterListData
/// Handles null values for <c>MasterListId</c> and <c>MasterListType</c> by displaying them as "Null" and "null" respectively.
/// </summary>
/// <returns>A formatted string containing the identifier and type of the master list.</returns>
/// <!-- aidoc:v1 sig=d27f326 body=1e8e338 -->
public override string ToString()
{
List<string> items =
@@ -8,6 +8,7 @@ namespace adas_core.Domain.Models.DTO;
/// <remarks>
/// This DTO is typically used to transfer user account and authentication information in update operations.
/// </remarks>
/// <!-- aidoc:v1 sig=8f34fab -->
public class UpdateUserWithAuthDto
{
public User User { get; set; } = new();