111
This commit is contained in:
@@ -98,6 +98,45 @@ public sealed class HealthDashboardOutput
|
||||
public decimal? Bmi { get; set; }
|
||||
public string BmiStatus { get; set; } = string.Empty;
|
||||
public PersonalizedSceneConfig? SceneConfig { get; set; }
|
||||
public TcmAssessmentResult? TcmResult { get; set; }
|
||||
public MattressComfortOutput? MattressComfort { get; set; }
|
||||
}
|
||||
|
||||
public sealed class MattressComfortOutput
|
||||
{
|
||||
public decimal? Bmi { get; set; }
|
||||
public string? Firmness { get; set; }
|
||||
public int HeatingLevel { get; set; }
|
||||
public bool IsWinter { get; set; }
|
||||
public double? OutdoorTemperatureCelsius { get; set; }
|
||||
public double? FeelsLikeCelsius { get; set; }
|
||||
public bool WeatherAvailable { get; set; }
|
||||
public string? WeatherObservedAt { get; set; }
|
||||
public string WeatherReason { get; set; } = string.Empty;
|
||||
public string FirmnessReason { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public sealed class TcmAssessmentInput
|
||||
{
|
||||
public Dictionary<string, string> Answers { get; set; } = new();
|
||||
public Dictionary<string, string> Notes { get; set; } = new();
|
||||
}
|
||||
|
||||
public sealed class TcmAssessmentResult
|
||||
{
|
||||
public bool HasCompleted { get; set; }
|
||||
public string ConstitutionCode { get; set; } = string.Empty;
|
||||
public string ConstitutionName { get; set; } = string.Empty;
|
||||
public string? SecondaryName { get; set; }
|
||||
public string Summary { get; set; } = string.Empty;
|
||||
public string AromaRecommendation { get; set; } = string.Empty;
|
||||
public string MusicRecommendation { get; set; } = string.Empty;
|
||||
public string RoomTemperatureRecommendation { get; set; } = string.Empty;
|
||||
public Dictionary<string, int> Scores { get; set; } = new();
|
||||
public Dictionary<string, string> Answers { get; set; } = new();
|
||||
public Dictionary<string, string> Notes { get; set; } = new();
|
||||
public PersonalizedSceneConfig SceneConfig { get; set; } = new();
|
||||
public DateTime? AssessedAt { get; set; }
|
||||
}
|
||||
|
||||
public sealed class PersonalizedSceneConfig
|
||||
@@ -153,7 +192,6 @@ public sealed class HealthAssessmentOutput
|
||||
public bool HasCompletedAssessment { get; set; }
|
||||
public SaveHealthProfileInput BasicInfo { get; set; } = new();
|
||||
public HealthAssessmentAnswers Answers { get; set; } = new();
|
||||
public PersonalizedSceneConfig SceneConfig { get; set; } = new();
|
||||
public decimal? Bmi { get; set; }
|
||||
public string BmiStatus { get; set; } = "正常";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user