public Booking(Guid id, DateTime appointmentTime, HealthInstitution healthInstitution, Person person) { Id = id; AppointmentTime = appointmentTime; HealthInstitution = healthInstitution; Person = person; }
public Booking(DateTime appointmentTime, HealthInstitution healthInstitution, Person person) { Id = Guid.NewGuid(); AppointmentTime = appointmentTime; HealthInstitution = healthInstitution; Person = person; IsActive = true; }