Open qiandrew opened 4 years ago
In src/main/java/edu/ucsb/cs56/ucsb-open-lab-scheduler/entities/TutorAssignment.java, add a String field called type. Add a parameter in the constructor so this field can be set when constructing a TutorAssignment. Add getter and setter methods. In the file for CRUD operations, add a dropdown to choose a TutorAssignment type. In the file for displaying all the tutors, add a column for TutorAssignment type.
Branch called "TEAM-t-5pm-d-mc-FieldType"
Add public final String[] TUTOR_TYPES = {"TA", "LA", "190J"} to view and add try/catch exception for assigning type in order to handle people trying to add wrong type into constructor.
Added Radio buttons in manage.html instead of dropdown, hardcoded.
Type should be: TA, LA, or 190J