28 static constexpr double STANDARD_FEE = 100.00;
The Person class represents a person with a name, affiliation, and email.
Definition person.h:20
The Registration class represents a registration for an event.
Definition registration.h:24
virtual ~Registration()=default
Destructor.
Registration(const Person &attendee, const QDate &bookingDate)
Constructor.
Definition registration.cpp:12
virtual QString toString() const
Convert the registration information to a string representation.
Definition registration.cpp:33
QDate getBookingDate() const
Get the booking date of the registration.
Definition registration.cpp:28
void setBookingDate(const QDate &newBookingDate)
Set the booking date of the registration.
Definition registration.cpp:18
virtual double calculateFee() const =0
Calculate the fee for the registration.
Person getAttendee() const
Get the attendee associated with the registration.
Definition registration.cpp:23