classDiagram
direction BT
class CLASSROOM {
datetime(6) created_at
datetime(6) updated_at
varchar(255) classroomInfo_description
int classroomInfo_grade
varchar(255) classroomInfo_name
bigint teacher_id
bigint classroom_id
}
class MEMBER {
datetime(6) created_at
datetime(6) updated_at
varchar(255) member_name
varchar(255) member_password
varchar(255) status
bigint member_id
}
class MEMBER_AUTHORITY {
bigint member_id
varchar(255) authorities_role
}
class MISTAKENOTE {
datetime(6) created_at
datetime(6) updated_at
bigint student_id
bigint workbook_id
bigint mistakenote_id
}
class MISTAKE_RECORD {
int count
bigint mistakenote_id
int problem_number
}
class STUDENT_LIST {
bigint classroom_id
bigint students_id
}
class WORKBOOK {
datetime(6) created_at
datetime(6) updated_at
bigint classroom_teacher_id
varchar(255) workbook_description
int workbook_ending_number
varchar(255) workbook_name
int workbook_starting_number
bigint workbook_id
}
class WORKBOOK_LIST {
bigint classroom_id
bigint workbooks_id
}
class hibernate_sequence {
bigint next_val
}
MEMBER_AUTHORITY --> MEMBER : member_id
MISTAKE_RECORD --> MISTAKENOTE : mistakenote_id
STUDENT_LIST --> CLASSROOM : classroom_id
WORKBOOK_LIST --> CLASSROOM : classroom_id