Sakuten/backend

View on GitHub
docs/uml/api-models_class.uml

Summary

Maintainability
Test Coverage
@startuml

class User {
  + id
  + username
  + passhash
  + __repr__()
  + get_user_id()
  + check_password()
}

class Classroom {
  + id
  + grade
  + index
  + __repr__()
  + get_classroom_name()
}

class Lottery {
  + id
  + classroom_id
  + classroom
  + index
  + done
  + __repr__()
}

class Application {
  + __table_args__
  + id
  + lottery_id
  + lottery
  + user_id
  + user
  + status
  + is_rep
  + group_members
  + __repr__()
}

class GroupMember {
  + __tablename__
  + id
  + user_id
  + user
  + own_application
  + rep_application_id
  + rep_application
  + __repr__()
}

@enduml