This repository was archived by the owner on Apr 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Tutors
jules2689 edited this page Nov 25, 2014
·
3 revisions
- Tutors will signup as a user of type "tutor"
- Tutors will provide full contact information, name, date of birth, police check (?), and subjects for which they are available to teach. They will also indicate the number of students they are willing to teach at a time.
- Once providing information the tutor may then start creating "Tutor Event" objects.
- Tutor events will indicate name, dates and times, description, type of event, materials needed etc.
- Event objects will be available for users of type "customer" to sign up
- When a customer signs up a booking is made
- When a customer pays for the session, 2% of the transaction goes to CFK
- When the customer books the session, all other users will be unable to view the information for the session. It will be marked as "booked"
- The tutor will be able to see contact info for the customer, as well as children info.
- The tutor will have reviews and ratings available. Once a customer books the tutor and attends a session, the customer will be able to submit a 1 to 5 star review and leave feedback
- Feedback will be automatically scanned for inappropriate language and rejected to an admin if it contains coarse or inappropriate langauge
- A tutor may make as many events as desired, as long as they do not overlap
- A tutor will require to provide bank info for money transfers. This is stored in Stripe.
- Tutors have many bookings
- Tutors have many Event events
- Tutors have many Tutor events
- Tutors have feedback and ratings
- Tutors have many subjects
- Tutors have one address
column | type |
---|---|
id | PK (int) |
first_name | varchar(255) |
last_name | varchar(255) |
varchar(255) | |
date_of_birth | date |
police_check | image* |
max_students | integer |
address_id | FK |
info_for_auth |
*Image will be started on Amazon, this is actually a link