13 lines
361 B
C#
13 lines
361 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace HealthApp.Contracts;
|
|
|
|
public sealed record ContextSelection
|
|
{
|
|
[AllowedValues("Home", "Clinic", "Other", "Unknown", null)]
|
|
public string? Setting { get; init; }
|
|
|
|
[AllowedValues("AtRest", "DuringActivity", "AfterActivity", "Unknown", null)]
|
|
public string? ActivityCondition { get; init; }
|
|
}
|