23 lines
660 B
C#
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}";
|
|
}
|
|
} |