-
Notifications
You must be signed in to change notification settings - Fork 3
Class diagram
Marta Sienkiewicz edited this page Sep 7, 2024
·
4 revisions
classDiagram
direction BT
student_points --> caregivers : assigner_id-id
student_points --> students : assignee_id-id
student_prizes --> students : student_id-id
roles --> caregivers : caregiver_id-id
roles --> students : student_id-id
student_tasks --> students : student_id-id
class caregivers {
integer user_id
integer id
}
class student_points {
integer value
timestamp with time zone assignment_date
integer assignee_id
integer assigner_id
integer id
}
class student_prizes {
varchar(100) name
integer value
integer student_id
integer id
}
class roles {
varchar(30) role_name
integer caregiver_id
integer student_id
integer id
}
class students {
integer total_points
integer user_id
integer id
}
class student_tasks {
varchar(100) name
integer value
integer student_id
integer id
}
classDiagram
direction BT
auth_group_permissions --> auth_group : group_id-id
auth_group_permissions --> auth_permission : permission_id-id
auth_permission --> django_content_type : content_type_id-id
django_admin_log --> django_content_type : content_type_id-id
django_admin_log --> users_customuser : user_id-id
users_caregiver --> users_customuser : user_id-id
users_customuser_groups --> auth_group : group_id-id
users_customuser_groups --> users_customuser : customuser_id-id
users_customuser_user_permissions --> auth_permission : permission_id-id
users_customuser_user_permissions --> users_customuser : customuser_id-id
users_point --> users_caregiver : assigner_id-id
users_point --> users_student : assignee_id-id
users_prize --> users_student : student_id-id
users_role --> users_caregiver : caregiver_id-id
users_role --> users_student : student_id-id
users_student --> users_customuser : user_id-id
users_task --> users_student : student_id-id
class auth_group {
varchar(150) name
integer id
}
class auth_group_permissions {
integer group_id
integer permission_id
bigint id
}
class auth_permission {
varchar(255) name
integer content_type_id
varchar(100) codename
integer id
}
class django_admin_log {
timestamp with time zone action_time
text object_id
varchar(200) object_repr
smallint action_flag
text change_message
integer content_type_id
integer user_id
integer id
}
class django_content_type {
varchar(100) app_label
varchar(100) model
integer id
}
class django_migrations {
varchar(255) app
varchar(255) name
timestamp with time zone applied
bigint id
}
class django_session {
text session_data
timestamp with time zone expire_date
varchar(40) session_key
}
class users_caregiver {
integer user_id
integer id
}
class users_customuser {
varchar(128) password
timestamp with time zone last_login
boolean is_superuser
varchar(150) username
varchar(150) first_name
varchar(150) last_name
varchar(254) email
boolean is_staff
boolean is_active
timestamp with time zone date_joined
boolean is_auth
integer id
}
class users_customuser_groups {
integer customuser_id
integer group_id
bigint id
}
class users_customuser_user_permissions {
integer customuser_id
integer permission_id
bigint id
}
class users_point {
integer value
timestamp with time zone assignment_date
integer assignee_id
integer assigner_id
integer id
}
class users_prize {
varchar(100) name
integer value
integer student_id
integer id
}
class users_role {
varchar(30) role_name
integer caregiver_id
integer student_id
integer id
}
class users_student {
integer total_points
integer user_id
integer id
}
class users_task {
varchar(100) name
integer value
integer student_id
integer id
}