John-sCC / jcc_backend

Eat up!
1 stars 0 forks source link

JCC - Backend Planning: UML Diagrams and Code Starters #1

Open drewreed2005 opened 9 months ago

drewreed2005 commented 9 months ago

Backend Ideation Assets and Planning

Reply to this with the things! Whoopee!

drewreed2005 commented 9 months ago

Object Relationship Diagram

Current concern: It would be ideal to have teacher and student be roles for an overall User class to have, but certain attributes must differ between students and teachers due to the nature of their accounts. We are working as a group to decide how to handle this. It would also be good to find a way to represent the HTML contents of an assignment post. See the draw.io diagram below:

Image

Edits: ADD PARENT CLASS w/ username, add Student GRAD year

drewreed2005 commented 9 months ago

Parent class for both:

public class rUser {
    private String username;
    private String password; //encrypted
    private String firstName;
    private String lastName;
    private ArrayList<ClassPeriod> periods;
    //...
}