Class CreateAppointmentRequest
- Namespace
- Core.CliniCore.Requests.Appointments
- Assembly
- Core.CliniCore.dll
Request DTO for creating a new appointment
public class CreateAppointmentRequest
- Inheritance
-
CreateAppointmentRequest
- Inherited Members
Properties
End
[Required(ErrorMessage = "End time is required")]
public DateTime End { get; set; }
Property Value
Notes
public string? Notes { get; set; }
Property Value
PatientId
[Required(ErrorMessage = "Patient ID is required")]
public Guid PatientId { get; set; }
Property Value
PhysicianId
[Required(ErrorMessage = "Physician ID is required")]
public Guid PhysicianId { get; set; }
Property Value
ReasonForVisit
public string? ReasonForVisit { get; set; }
Property Value
RoomNumber
Room number (1-999) where the appointment will take place. If specified, validates no double-booking of rooms.
[Range(1, 999, ErrorMessage = "Room number must be between 1 and 999")]
public int? RoomNumber { get; set; }
Property Value
- int?
Start
[Required(ErrorMessage = "Start time is required")]
public DateTime Start { get; set; }