Files
adas-core/adas-core.Domain/Models/PatientAllergiesValue.cs
T
2026-06-26 10:29:23 +02:00

23 lines
660 B
C#

namespace adas_core.Domain.Models;
/// <summary>
/// Represents a value related to a patient's allergies.
/// </summary>
public class PatientAllergiesValue
{
public string? Type { get; set; }
public string? Value { get; set; }
public string? Notes { get; set; }
/// <summary>
/// Returns a formatted string representation of the object, including its Type, Value, and Notes properties.
/// </summary>
/// <returns>A string containing the Type, Value, and Notes properties of the object.</returns>
public override string ToString()
{
return $"Tipo: {Type}, Valor: {Value}, Notas: {Notes}";
}
}