├── .gitattributes ├── .gitignore ├── Dockerfile ├── HELP.md ├── LICENSE ├── README.md ├── doc-images ├── db.png └── swagger.png ├── mvnw ├── mvnw.cmd ├── pom.xml └── src ├── main ├── java │ └── com │ │ └── wizzstudio │ │ └── database_homework │ │ ├── DatabaseHomeworkApplication.java │ │ ├── config │ │ ├── CorsConfig.java │ │ └── SwaggerConfig.java │ │ ├── controller │ │ ├── ClassController.java │ │ ├── CollegeController.java │ │ ├── CourseController.java │ │ ├── DataController.java │ │ ├── IndexController.java │ │ ├── RuleController.java │ │ ├── ScoreController.java │ │ ├── StudentController.java │ │ ├── SubjectController.java │ │ └── TeacherController.java │ │ ├── dto │ │ ├── ClassGetDto.java │ │ ├── ClassSetDto.java │ │ ├── CollegeGetDto.java │ │ ├── CollegeSetDto.java │ │ ├── CourseGetDto.java │ │ ├── CourseSetDto.java │ │ ├── DataSetDto.java │ │ ├── RuleGetDto.java │ │ ├── RuleSetDto.java │ │ ├── ScoreGetDto.java │ │ ├── ScoreSetDto.java │ │ ├── StudentGetDto.java │ │ ├── StudentScoreGetDto.java │ │ ├── StudentSetDto.java │ │ ├── StudentTeacherGetDto.java │ │ ├── SubjectGetDto.java │ │ ├── SubjectSetDto.java │ │ ├── TeacherGetDto.java │ │ └── TeacherSetDto.java │ │ ├── entity │ │ ├── ClassEntity.java │ │ ├── CollegeEntity.java │ │ ├── CourseEntity.java │ │ ├── RuleEntity.java │ │ ├── ScoreEntity.java │ │ ├── StudentEntity.java │ │ ├── SubjectEntity.java │ │ └── TeacherEntity.java │ │ ├── error │ │ ├── CustomException.java │ │ └── GlobalExceptionHandler.java │ │ ├── repository │ │ ├── ClassRepository.java │ │ ├── CollegeRepository.java │ │ ├── CourseRepository.java │ │ ├── RuleRepository.java │ │ ├── ScoreRepository.java │ │ ├── StudentRepository.java │ │ ├── SubjectRepository.java │ │ └── TeacherRepository.java │ │ ├── service │ │ ├── ScoreService.java │ │ └── StudentService.java │ │ └── util │ │ ├── MathUtil.java │ │ └── RepositoryUtil.java └── resources │ ├── app.yml │ ├── application.yml.example │ ├── hibernate.properties │ └── import.sql └── test └── java └── com └── wizzstudio └── database_homework └── DatabaseHomeworkApplicationTests.java /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/Dockerfile -------------------------------------------------------------------------------- /HELP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/HELP.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/README.md -------------------------------------------------------------------------------- /doc-images/db.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/doc-images/db.png -------------------------------------------------------------------------------- /doc-images/swagger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/doc-images/swagger.png -------------------------------------------------------------------------------- /mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/mvnw -------------------------------------------------------------------------------- /mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/mvnw.cmd -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/DatabaseHomeworkApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/DatabaseHomeworkApplication.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/config/CorsConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/config/CorsConfig.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/config/SwaggerConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/config/SwaggerConfig.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/controller/ClassController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/controller/ClassController.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/controller/CollegeController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/controller/CollegeController.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/controller/CourseController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/controller/CourseController.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/controller/DataController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/controller/DataController.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/controller/IndexController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/controller/IndexController.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/controller/RuleController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/controller/RuleController.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/controller/ScoreController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/controller/ScoreController.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/controller/StudentController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/controller/StudentController.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/controller/SubjectController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/controller/SubjectController.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/controller/TeacherController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/controller/TeacherController.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/ClassGetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/ClassGetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/ClassSetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/ClassSetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/CollegeGetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/CollegeGetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/CollegeSetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/CollegeSetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/CourseGetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/CourseGetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/CourseSetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/CourseSetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/DataSetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/DataSetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/RuleGetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/RuleGetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/RuleSetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/RuleSetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/ScoreGetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/ScoreGetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/ScoreSetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/ScoreSetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/StudentGetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/StudentGetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/StudentScoreGetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/StudentScoreGetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/StudentSetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/StudentSetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/StudentTeacherGetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/StudentTeacherGetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/SubjectGetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/SubjectGetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/SubjectSetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/SubjectSetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/TeacherGetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/TeacherGetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/dto/TeacherSetDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/dto/TeacherSetDto.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/entity/ClassEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/entity/ClassEntity.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/entity/CollegeEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/entity/CollegeEntity.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/entity/CourseEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/entity/CourseEntity.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/entity/RuleEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/entity/RuleEntity.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/entity/ScoreEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/entity/ScoreEntity.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/entity/StudentEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/entity/StudentEntity.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/entity/SubjectEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/entity/SubjectEntity.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/entity/TeacherEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/entity/TeacherEntity.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/error/CustomException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/error/CustomException.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/error/GlobalExceptionHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/error/GlobalExceptionHandler.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/repository/ClassRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/repository/ClassRepository.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/repository/CollegeRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/repository/CollegeRepository.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/repository/CourseRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/repository/CourseRepository.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/repository/RuleRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/repository/RuleRepository.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/repository/ScoreRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/repository/ScoreRepository.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/repository/StudentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/repository/StudentRepository.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/repository/SubjectRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/repository/SubjectRepository.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/repository/TeacherRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/repository/TeacherRepository.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/service/ScoreService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/service/ScoreService.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/service/StudentService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/service/StudentService.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/util/MathUtil.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/util/MathUtil.java -------------------------------------------------------------------------------- /src/main/java/com/wizzstudio/database_homework/util/RepositoryUtil.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/java/com/wizzstudio/database_homework/util/RepositoryUtil.java -------------------------------------------------------------------------------- /src/main/resources/app.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/resources/app.yml -------------------------------------------------------------------------------- /src/main/resources/application.yml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/resources/application.yml.example -------------------------------------------------------------------------------- /src/main/resources/hibernate.properties: -------------------------------------------------------------------------------- 1 | hibernate.dialect.storage_engine=innodb -------------------------------------------------------------------------------- /src/main/resources/import.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/main/resources/import.sql -------------------------------------------------------------------------------- /src/test/java/com/wizzstudio/database_homework/DatabaseHomeworkApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/117503445/database_homework/HEAD/src/test/java/com/wizzstudio/database_homework/DatabaseHomeworkApplicationTests.java --------------------------------------------------------------------------------