Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,118 @@
|
||||
using adas_core.Domain.Enums;
|
||||
using MongoDB.Bson;
|
||||
|
||||
namespace adas_core.Domain.Models.MongoModels;
|
||||
|
||||
#region HomeConfig
|
||||
|
||||
public class CardConfig
|
||||
{
|
||||
public ObjectId Id { get; set; }
|
||||
public List<RowCardConfig>? Rows { get; set; }
|
||||
}
|
||||
|
||||
public class RowCardConfig
|
||||
{
|
||||
// Dynamic cells de nurse y Dynamic Obs de monitoring
|
||||
public List<Cell>? Cells { get; set; }
|
||||
public double? GrowPriority { get; set; }
|
||||
public DisplayConfigEnums.CellType Type { get; set; }
|
||||
public string? Border { get; set; }
|
||||
public string? BorderRadius { get; set; }
|
||||
public string? Title { get; set; }
|
||||
public string? Size { get; set; }
|
||||
public string? MarginTop { get; set; }
|
||||
public string? MarginBottom { get; set; }
|
||||
public string? MarginLeft { get; set; }
|
||||
public string? MarginRight { get; set; }
|
||||
public string? BgColor { get; set; }
|
||||
public string? PaddingTop { get; set; }
|
||||
public string? PaddingBottom { get; set; }
|
||||
public string? PaddingLeft { get; set; }
|
||||
public string? PaddingRight { get; set; }
|
||||
}
|
||||
|
||||
public class Cell
|
||||
{
|
||||
public ChartSettings? ChartSettings { get; set; }
|
||||
public List<ObservationTextRule>? TextRules { get; set; }
|
||||
public DisplayConfigEnums.CellType Type { get; set; }
|
||||
|
||||
public string? SubType { get; set; }
|
||||
public double? Size { get; set; }
|
||||
public List<Cell>? SubObs { get; set; }
|
||||
public bool? HideName { get; set; }
|
||||
public bool? IsStatic { get; set; }
|
||||
public double? GrowPriority { get; set; }
|
||||
public string? Border { get; set; }
|
||||
public string? BorderRadius { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public bool IsVisible { get; set; } = true;
|
||||
public bool? IsColumn { get; set; }
|
||||
public string? BgColor { get; set; }
|
||||
public string? Title { get; set; }
|
||||
|
||||
public string? ValuePathNested { get; set; }
|
||||
public List<string>? ValuePathKey { get; set; }
|
||||
public List<IconValueList>? IconValueList { get; set; }
|
||||
public string? PaddingTop { get; set; }
|
||||
public string? PaddingBottom { get; set; }
|
||||
public string? PaddingLeft { get; set; }
|
||||
public string? PaddingRight { get; set; }
|
||||
public string? Color { get; set; }
|
||||
public string? BackgroundColor { get; set; }
|
||||
public bool? ShowIcon { get; set; }
|
||||
public string? FlexBasis { get; set; }
|
||||
public string? Grow { get; set; }
|
||||
public string? Shrink { get; set; }
|
||||
public bool? ShowTitle { get; set; }
|
||||
public DialogConfig? DialogConfig { get; set; }
|
||||
public bool? IndicatorHorizontal { get; set; }
|
||||
public bool? ShowIndicator { get; set; }
|
||||
public bool? OnlyNumber { get; set; }
|
||||
public bool? ShowArrow { get; set; }
|
||||
public string? GraphConf { get; set; }
|
||||
public List<string>? Names { get; set; }
|
||||
public List<string>? ObservationName { get; set; }
|
||||
public List<List<string>?>? ObservationTitle { get; set; }
|
||||
public DisplayConfigEnums.DirectionEnum? Direction { get; set; }
|
||||
}
|
||||
|
||||
public class ChartSettings
|
||||
{
|
||||
public LegendLayoutConfig? LegendLayoutConfig { get; set; }
|
||||
public decimal? LegendGrowPriority { get; set; }
|
||||
public decimal? ChartGrowPriority { get; set; }
|
||||
}
|
||||
|
||||
public class DialogConfig
|
||||
{
|
||||
public bool? IsDraggable { get; set; }
|
||||
public MedicalConfig? MedicalConfig { get; set; }
|
||||
}
|
||||
|
||||
public class MedicalConfig
|
||||
{
|
||||
public bool HasFinalizeTime { get; set; }
|
||||
public bool HasStartTime { get; set; }
|
||||
}
|
||||
|
||||
public class IconValueList
|
||||
{
|
||||
public double? MinValue { get; set; }
|
||||
public double? MaxValue { get; set; }
|
||||
public float? Width { get; set; }
|
||||
public float? Height { get; set; }
|
||||
public List<string>? IconList { get; set; }
|
||||
}
|
||||
|
||||
public class HomeConfig
|
||||
{
|
||||
public string? MinColumnSize { get; set; }
|
||||
public int ColumnsPerBreakpoint { get; set; }
|
||||
public string? BreakpointSize { get; set; }
|
||||
public string? CardAspectRatioHeight { get; set; }
|
||||
public string? CardAspectRatioWidth { get; set; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
Reference in New Issue
Block a user