This review should be under the provider. For avoiding scams and fake reviews a review option will be open to the user upon the end of the appointment.
interface Review{
Review_id: int // automated
User_id: int // automated
Time_stamp: time // automated
Appointment_id: int // automated
service_id: List[varchar] // automated
Rating: int // constraints: 1-5
description: text // optional
Picture_links: List[varchar] // optional | up to 2 or 3
//in the future add many to many relation with services
}
Make sure to add to the provider an average of the rating.
APoint
project
Review structure
This review should be under the provider. For avoiding scams and fake reviews a review option will be open to the user upon the end of the appointment.
Make sure to add to the provider an average of the rating.
@Idobenhamo