9#ifndef GUESTREGISTRATION_H
10#define GUESTREGISTRATION_H
32 GuestRegistration(
const Person &attendee,
const QDate &bookingDate = QDate::currentDate(),
const QString &category =
"");
49 virtual QString
toString()
const override;
The GuestRegistration class represents a registration for a guest attendee.
Definition guestregistration.h:22
virtual ~GuestRegistration() override=default
Default destructor for the GuestRegistration class.
QString getCategory() const
Gets the category of the guest registration.
Definition guestregistration.cpp:34
virtual QString toString() const override
Converts the guest registration details to a string format.
Definition guestregistration.cpp:26
virtual double calculateFee() const override
Calculates the registration fee for the guest registration.
Definition guestregistration.cpp:20
GuestRegistration(const Person &attendee, const QDate &bookingDate=QDate::currentDate(), const QString &category="")
Constructs a GuestRegistration object with the given attendee, booking date, and category.
Definition guestregistration.cpp:12
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