Files
HealthAppRepository/src/PatientProfileService/Contracts/CreatePatientRequest.cs
T

15 lines
301 B
C#

using System.ComponentModel.DataAnnotations;
namespace PatientProfileService.Contracts;
public sealed record CreatePatientRequest
{
[Required]
public string? Name { get; init; }
[Required]
public DateOnly? DateOfBirth { get; init; }
public string? ContactInfo { get; init; }
}