Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe you should create Value Object AppointmentDuration #3

Open
mavik opened this issue Aug 12, 2022 · 0 comments
Open

Maybe you should create Value Object AppointmentDuration #3

mavik opened this issue Aug 12, 2022 · 0 comments

Comments

@mavik
Copy link

mavik commented Aug 12, 2022

Maybe you should create a Value Object AppointmentDuration and use it as a type for Appointment::appointmentLengthInMinutes (I'd rename it to appointmentDuration) and in this class verify duration of an appointment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant