Customer
name : String
email : String
phone : String
Customer(name:String,
email ; String, phone :
String)
getname(): String
getemail(): String
getphone(): String
toString() : String
Appointment Spa
Service
customer: Customer appointments : Appointment[]
name : String
services: Service[]
price : double
duration : int
Appointment Service[] Spa()
(customer:Customer) addAppointment(appointment:
Service(name:String, price: addService(service: Appointment): void
double, duration: int) Service): void removeAppointment(appointment;
getname(): String removeService(service; Appointment): void
getPrice(): double Service): void searchAppointment(CustomerName
getDuration(): int getTotalPrice() : double : String): Appointment
applyService(): void displayAppointment() :void
Massage Facial BodyTreatment
massageType : String skinType: String treatmentType: String
Massage(name:String, Facial(name:String, price: BodyTreatment(name:String,
price: double, duration: int, double, duration: int, price: double, duration: int,
massageType: String) skinType: String) treatmentType: String)
getMassageType(): String getSkinType(): String getTreatmentType(): String
applyService(): void applyService(): void applyService(): void
SpecialMassage
specialOil : String
SpecialMassage(name:String,
price: double, duration: int,
massageType: String,
specialOil: String )
getSpecialOil(): String
applyService(): void