Skip to content

6주차 미션_수/최경수 #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified 수_최경수/.gradle/8.13/checksums/checksums.lock
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified 수_최경수/.gradle/8.13/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified 수_최경수/.gradle/8.13/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified 수_최경수/.gradle/8.13/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified 수_최경수/.gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified 수_최경수/.gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file modified 수_최경수/.gradle/file-system.probe
Binary file not shown.
23 changes: 22 additions & 1 deletion 수_최경수/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions 수_최경수/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion 수_최경수/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions 수_최경수/.idea/modules/1499227598/spring.main.iml

This file was deleted.

45 changes: 34 additions & 11 deletions 수_최경수/build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.4'
id 'io.spring.dependency-management' version '1.1.7'
id 'org.springframework.boot' version '3.3.5'
id 'io.spring.dependency-management' version '1.1.6'
}

group = 'umc'
version = '0.0.1-SNAPSHOT'

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
group = 'com.example'
version = '1.0.0'
sourceCompatibility = '17'

configurations {
compileOnly {
Expand All @@ -30,9 +25,37 @@ dependencies {
runtimeOnly 'com.mysql:mysql-connector-j'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.9.0'
testCompileOnly 'org.projectlombok:lombok:1.18.12' // 테스트 의존성 추가
testAnnotationProcessor 'org.projectlombok:lombok:1.18.12' // 테스트 의존성 추가
implementation 'org.springframework.boot:spring-boot-starter-validation'
// QueryDSL 추가
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
annotationProcessor "com.querydsl:querydsl-apt:${dependencyManagement.importedProperties['querydsl.version']}:jakarta"
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
// Swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
// 스프링 시큐리티
// implementation 'org.springframework.boot:spring-boot-starter-security'
// testImplementation 'org.springframework.security:spring-security-test'
//타임리프
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
// implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6:3.1.1.RELEASE'
// Spring Security OAuth2 클라이언트 의존성 추가
// implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
}

def querydslDir = "src/main/generated"

tasks.withType(JavaCompile) {
options.generatedSourceOutputDirectory = file(querydslDir)
}

tasks.named('test') {
useJUnitPlatform()
}

clean {
delete file('src/main/generated')
}
Binary file removed 수_최경수/build/.DS_Store
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified 수_최경수/build/classes/java/main/umc/spring/domain/Store.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion 수_최경수/build/reports/problems/problems-report.html
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@
<script type="text/javascript">
function configurationCacheProblems() { return (
// begin-report-data
{"diagnostics":[{"locations":[{"path":"/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/src/main/java/umc/spring/domain/Terms.java","line":30,"column":29,"length":36},{"taskPath":":compileJava"}],"problem":[{"text":"Java compilation warning"}],"severity":"WARNING","problemDetails":[{"text":"/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/src/main/java/umc/spring/domain/Terms.java:30: warning: @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.\n private List<MemberAgree> memberAgreeList = new ArrayList<>();\n ^"}],"contextualLabel":"@Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.","problemId":[{"name":"java","displayName":"Java compilation"},{"name":"compilation","displayName":"Compilation"},{"name":"compiler-warn-proc-messager","displayName":"Java compilation warning"}]},{"locations":[{"path":"/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/src/main/java/umc/spring/domain/Member.java","line":56,"column":29,"length":36},{"taskPath":":compileJava"}],"problem":[{"text":"Java compilation warning"}],"severity":"WARNING","problemDetails":[{"text":"/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/src/main/java/umc/spring/domain/Member.java:56: warning: @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.\n private List<MemberAgree> memberAgreeList = new ArrayList<>();\n ^"}],"contextualLabel":"@Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.","problemId":[{"name":"java","displayName":"Java compilation"},{"name":"compilation","displayName":"Compilation"},{"name":"compiler-warn-proc-messager","displayName":"Java compilation warning"}]},{"locations":[{"path":"/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/src/main/java/umc/spring/domain/Member.java","line":59,"column":30,"length":37},{"taskPath":":compileJava"}],"problem":[{"text":"Java compilation warning"}],"severity":"WARNING","problemDetails":[{"text":"/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/src/main/java/umc/spring/domain/Member.java:59: warning: @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.\n private List<MemberPrefer> memberPreferList = new ArrayList<>();\n ^"}],"contextualLabel":"@Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.","problemId":[{"name":"java","displayName":"Java compilation"},{"name":"compilation","displayName":"Compilation"},{"name":"compiler-warn-proc-messager","displayName":"Java compilation warning"}]},{"locations":[{"path":"/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/src/main/java/umc/spring/domain/Member.java","line":62,"column":24,"length":31},{"taskPath":":compileJava"}],"problem":[{"text":"Java compilation warning"}],"severity":"WARNING","problemDetails":[{"text":"/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/src/main/java/umc/spring/domain/Member.java:62: warning: @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.\n private List<Review> reviewList = new ArrayList<>();\n ^"}],"contextualLabel":"@Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.","problemId":[{"name":"java","displayName":"Java compilation"},{"name":"compilation","displayName":"Compilation"},{"name":"compiler-warn-proc-messager","displayName":"Java compilation warning"}]},{"locations":[{"path":"/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/src/main/java/umc/spring/domain/Member.java","line":65,"column":31,"length":38},{"taskPath":":compileJava"}],"problem":[{"text":"Java compilation warning"}],"severity":"WARNING","problemDetails":[{"text":"/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/src/main/java/umc/spring/domain/Member.java:65: warning: @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.\n private List<MemberMission> memberMissionList = new ArrayList<>();\n ^"}],"contextualLabel":"@Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.","problemId":[{"name":"java","displayName":"Java compilation"},{"name":"compilation","displayName":"Compilation"},{"name":"compiler-warn-proc-messager","displayName":"Java compilation warning"}]},{"locations":[{"path":"/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/src/main/java/umc/spring/domain/Member.java","line":68,"column":23,"length":30},{"taskPath":":compileJava"}],"problem":[{"text":"Java compilation warning"}],"severity":"WARNING","problemDetails":[{"text":"/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/src/main/java/umc/spring/domain/Member.java:68: warning: @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.\n private List<Alarm> alarmList = new ArrayList<>();\n ^"}],"contextualLabel":"@Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.","problemId":[{"name":"java","displayName":"Java compilation"},{"name":"compilation","displayName":"Compilation"},{"name":"compiler-warn-proc-messager","displayName":"Java compilation warning"}]},{"locations":[{"path":"/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/src/main/java/umc/spring/domain/Mission.java","line":35,"column":31,"length":38},{"taskPath":":compileJava"}],"problem":[{"text":"Java compilation warning"}],"severity":"WARNING","problemDetails":[{"text":"/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/src/main/java/umc/spring/domain/Mission.java:35: warning: @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.\n private List<MemberMission> memberMissionList = new ArrayList<>();\n ^"}],"contextualLabel":"@Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.","problemId":[{"name":"java","displayName":"Java compilation"},{"name":"compilation","displayName":"Compilation"},{"name":"compiler-warn-proc-messager","displayName":"Java compilation warning"}]}],"problemsReport":{"totalProblemCount":7,"buildName":"spring","requestedTasks":":classes","documentationLink":"https://docs.gradle.org/8.13/userguide/reporting_problems.html","documentationLinkCaption":"Problem report","summaries":[]}}
{"diagnostics":[{"locations":[{"path":"build file '/Users/kyungsoo/Documents/최경수/2_동아리 코딩/8th_SpringBoot_A/수_최경수/build.gradle'","line":9}],"problem":[{"text":"The org.gradle.api.plugins.JavaPluginConvention type has been deprecated."}],"severity":"WARNING","problemDetails":[{"text":"This is scheduled to be removed in Gradle 9.0."}],"contextualLabel":"The org.gradle.api.plugins.JavaPluginConvention type has been deprecated.","documentationLink":"https://docs.gradle.org/8.13/userguide/upgrading_version_8.html#java_convention_deprecation","problemId":[{"name":"deprecation","displayName":"Deprecation"},{"name":"the-org-gradle-api-plugins-javapluginconvention-type-has-been-deprecated","displayName":"The org.gradle.api.plugins.JavaPluginConvention type has been deprecated."}]}],"problemsReport":{"totalProblemCount":1,"buildName":"spring","requestedTasks":"","documentationLink":"https://docs.gradle.org/8.13/userguide/reporting_problems.html","documentationLinkCaption":"Problem report","summaries":[]}}
// end-report-data
);}
</script>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
package umc.spring.domain;

import static com.querydsl.core.types.PathMetadataFactory.*;

import com.querydsl.core.types.dsl.*;

import com.querydsl.core.types.PathMetadata;
import javax.annotation.processing.Generated;
import com.querydsl.core.types.Path;


/**
* QFoodCategory is a Querydsl query type for FoodCategory
*/
@Generated("com.querydsl.codegen.DefaultEntitySerializer")
public class QFoodCategory extends EntityPathBase<FoodCategory> {

private static final long serialVersionUID = -811463128L;

public static final QFoodCategory foodCategory = new QFoodCategory("foodCategory");

public final umc.spring.domain.common.QBaseEntity _super = new umc.spring.domain.common.QBaseEntity(this);

//inherited
public final DateTimePath<java.time.LocalDateTime> createdAt = _super.createdAt;

public final NumberPath<Long> id = createNumber("id", Long.class);

public final StringPath name = createString("name");

//inherited
public final DateTimePath<java.time.LocalDateTime> updatedAt = _super.updatedAt;

public QFoodCategory(String variable) {
super(FoodCategory.class, forVariable(variable));
}

public QFoodCategory(Path<? extends FoodCategory> path) {
super(path.getType(), path.getMetadata());
}

public QFoodCategory(PathMetadata metadata) {
super(FoodCategory.class, metadata);
}

}

Loading