From 1ae488839e7f381ffa3de75b8dd18513cb353bcc Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 25 Sep 2023 18:44:28 +0900 Subject: [PATCH] =?UTF-8?q?[Refactor]=20:=20=EB=A1=AC=EB=B3=B5=20=EC=96=B4?= =?UTF-8?q?=EB=85=B8=ED=85=8C=EC=9D=B4=EC=85=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 9 ++- build.gradle | 1 + .../bookmark/domain/QBookMarkEntity.java | 49 +++++++++++++ .../common/domain/QBaseTimeEntity.java | 39 ++++++++++ .../study/domain/QAlarmEntity.java | 51 +++++++++++++ .../study/domain/QStudyEntity.java | 49 +++++++++++++ .../study/domain/QStudyPostEntity.java | 71 +++++++++++++++++++ .../user/domain/QUserEntity.java | 59 +++++++++++++++ 8 files changed, 326 insertions(+), 2 deletions(-) create mode 100644 build/generated/querydsl/kr/co/studyhubinu/studyhubserver/bookmark/domain/QBookMarkEntity.java create mode 100644 build/generated/querydsl/kr/co/studyhubinu/studyhubserver/common/domain/QBaseTimeEntity.java create mode 100644 build/generated/querydsl/kr/co/studyhubinu/studyhubserver/study/domain/QAlarmEntity.java create mode 100644 build/generated/querydsl/kr/co/studyhubinu/studyhubserver/study/domain/QStudyEntity.java create mode 100644 build/generated/querydsl/kr/co/studyhubinu/studyhubserver/study/domain/QStudyPostEntity.java create mode 100644 build/generated/querydsl/kr/co/studyhubinu/studyhubserver/user/domain/QUserEntity.java diff --git a/.gitignore b/.gitignore index 58a2f0ac..18b846e2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,11 +2,16 @@ HELP.md .gradle -build/ +build/classes +build/libs +build/reports +build/resources +build/test-results +build/tmp +build/bootJarMainClassName !gradle/wrapper/gradle-wrapper.jar !**/src/main/**/build/ !**/src/test/**/build/ -!build/generated *.yml diff --git a/build.gradle b/build.gradle index 9eeec736..d0d10825 100644 --- a/build.gradle +++ b/build.gradle @@ -37,6 +37,7 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-web-services' implementation 'mysql:mysql-connector-java:8.0.26' compileOnly 'org.projectlombok:lombok' + annotationProcessor 'org.projectlombok:lombok' developmentOnly 'org.springframework.boot:spring-boot-devtools' testImplementation 'org.springframework.boot:spring-boot-starter-test' implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' diff --git a/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/bookmark/domain/QBookMarkEntity.java b/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/bookmark/domain/QBookMarkEntity.java new file mode 100644 index 00000000..789c8e0d --- /dev/null +++ b/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/bookmark/domain/QBookMarkEntity.java @@ -0,0 +1,49 @@ +package kr.co.studyhubinu.studyhubserver.bookmark.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; + + +/** + * QBookMarkEntity is a Querydsl query type for BookMarkEntity + */ +@Generated("com.querydsl.codegen.DefaultEntitySerializer") +public class QBookMarkEntity extends EntityPathBase { + + private static final long serialVersionUID = 1763927877L; + + public static final QBookMarkEntity bookMarkEntity = new QBookMarkEntity("bookMarkEntity"); + + public final kr.co.studyhubinu.studyhubserver.common.domain.QBaseTimeEntity _super = new kr.co.studyhubinu.studyhubserver.common.domain.QBaseTimeEntity(this); + + //inherited + public final DateTimePath createdDate = _super.createdDate; + + public final NumberPath id = createNumber("id", Long.class); + + //inherited + public final DateTimePath modifiedDate = _super.modifiedDate; + + public final NumberPath postId = createNumber("postId", Long.class); + + public final NumberPath userId = createNumber("userId", Long.class); + + public QBookMarkEntity(String variable) { + super(BookMarkEntity.class, forVariable(variable)); + } + + public QBookMarkEntity(Path path) { + super(path.getType(), path.getMetadata()); + } + + public QBookMarkEntity(PathMetadata metadata) { + super(BookMarkEntity.class, metadata); + } + +} + diff --git a/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/common/domain/QBaseTimeEntity.java b/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/common/domain/QBaseTimeEntity.java new file mode 100644 index 00000000..1dfaa201 --- /dev/null +++ b/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/common/domain/QBaseTimeEntity.java @@ -0,0 +1,39 @@ +package kr.co.studyhubinu.studyhubserver.common.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; + + +/** + * QBaseTimeEntity is a Querydsl query type for BaseTimeEntity + */ +@Generated("com.querydsl.codegen.DefaultSupertypeSerializer") +public class QBaseTimeEntity extends EntityPathBase { + + private static final long serialVersionUID = 507017890L; + + public static final QBaseTimeEntity baseTimeEntity = new QBaseTimeEntity("baseTimeEntity"); + + public final DateTimePath createdDate = createDateTime("createdDate", java.time.LocalDateTime.class); + + public final DateTimePath modifiedDate = createDateTime("modifiedDate", java.time.LocalDateTime.class); + + public QBaseTimeEntity(String variable) { + super(BaseTimeEntity.class, forVariable(variable)); + } + + public QBaseTimeEntity(Path path) { + super(path.getType(), path.getMetadata()); + } + + public QBaseTimeEntity(PathMetadata metadata) { + super(BaseTimeEntity.class, metadata); + } + +} + diff --git a/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/study/domain/QAlarmEntity.java b/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/study/domain/QAlarmEntity.java new file mode 100644 index 00000000..ab7d6278 --- /dev/null +++ b/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/study/domain/QAlarmEntity.java @@ -0,0 +1,51 @@ +package kr.co.studyhubinu.studyhubserver.study.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; + + +/** + * QAlarmEntity is a Querydsl query type for AlarmEntity + */ +@Generated("com.querydsl.codegen.DefaultEntitySerializer") +public class QAlarmEntity extends EntityPathBase { + + private static final long serialVersionUID = 873663913L; + + public static final QAlarmEntity alarmEntity = new QAlarmEntity("alarmEntity"); + + public final kr.co.studyhubinu.studyhubserver.common.domain.QBaseTimeEntity _super = new kr.co.studyhubinu.studyhubserver.common.domain.QBaseTimeEntity(this); + + public final EnumPath alarmCategory = createEnum("alarmCategory", kr.co.studyhubinu.studyhubserver.study.enums.AlarmCategoryType.class); + + //inherited + public final DateTimePath createdDate = _super.createdDate; + + public final NumberPath Id = createNumber("Id", Long.class); + + //inherited + public final DateTimePath modifiedDate = _super.modifiedDate; + + public final NumberPath postId = createNumber("postId", Long.class); + + public final StringPath title = createString("title"); + + public QAlarmEntity(String variable) { + super(AlarmEntity.class, forVariable(variable)); + } + + public QAlarmEntity(Path path) { + super(path.getType(), path.getMetadata()); + } + + public QAlarmEntity(PathMetadata metadata) { + super(AlarmEntity.class, metadata); + } + +} + diff --git a/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/study/domain/QStudyEntity.java b/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/study/domain/QStudyEntity.java new file mode 100644 index 00000000..4f2c4002 --- /dev/null +++ b/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/study/domain/QStudyEntity.java @@ -0,0 +1,49 @@ +package kr.co.studyhubinu.studyhubserver.study.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; + + +/** + * QStudyEntity is a Querydsl query type for StudyEntity + */ +@Generated("com.querydsl.codegen.DefaultEntitySerializer") +public class QStudyEntity extends EntityPathBase { + + private static final long serialVersionUID = -1337579743L; + + public static final QStudyEntity studyEntity = new QStudyEntity("studyEntity"); + + public final StringPath chatRoomUrl = createString("chatRoomUrl"); + + public final StringPath content = createString("content"); + + public final NumberPath id = createNumber("id", Long.class); + + public final StringPath name = createString("name"); + + public final DatePath studyEndDate = createDate("studyEndDate", java.time.LocalDate.class); + + public final DatePath studyStartDate = createDate("studyStartDate", java.time.LocalDate.class); + + public final NumberPath userId = createNumber("userId", Long.class); + + public QStudyEntity(String variable) { + super(StudyEntity.class, forVariable(variable)); + } + + public QStudyEntity(Path path) { + super(path.getType(), path.getMetadata()); + } + + public QStudyEntity(PathMetadata metadata) { + super(StudyEntity.class, metadata); + } + +} + diff --git a/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/study/domain/QStudyPostEntity.java b/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/study/domain/QStudyPostEntity.java new file mode 100644 index 00000000..535156be --- /dev/null +++ b/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/study/domain/QStudyPostEntity.java @@ -0,0 +1,71 @@ +package kr.co.studyhubinu.studyhubserver.study.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; + + +/** + * QStudyPostEntity is a Querydsl query type for StudyPostEntity + */ +@Generated("com.querydsl.codegen.DefaultEntitySerializer") +public class QStudyPostEntity extends EntityPathBase { + + private static final long serialVersionUID = -444406559L; + + public static final QStudyPostEntity studyPostEntity = new QStudyPostEntity("studyPostEntity"); + + public final kr.co.studyhubinu.studyhubserver.common.domain.QBaseTimeEntity _super = new kr.co.studyhubinu.studyhubserver.common.domain.QBaseTimeEntity(this); + + public final StringPath chatUrl = createString("chatUrl"); + + public final BooleanPath close = createBoolean("close"); + + public final StringPath content = createString("content"); + + //inherited + public final DateTimePath createdDate = _super.createdDate; + + public final EnumPath filteredGender = createEnum("filteredGender", kr.co.studyhubinu.studyhubserver.user.enums.GenderType.class); + + public final NumberPath id = createNumber("id", Long.class); + + public final EnumPath major = createEnum("major", kr.co.studyhubinu.studyhubserver.user.enums.MajorType.class); + + //inherited + public final DateTimePath modifiedDate = _super.modifiedDate; + + public final NumberPath penalty = createNumber("penalty", Integer.class); + + public final NumberPath postedUserId = createNumber("postedUserId", Long.class); + + public final NumberPath remainingSeat = createNumber("remainingSeat", Integer.class); + + public final DatePath studyEndDate = createDate("studyEndDate", java.time.LocalDate.class); + + public final NumberPath studyPerson = createNumber("studyPerson", Integer.class); + + public final DatePath studyStartDate = createDate("studyStartDate", java.time.LocalDate.class); + + public final EnumPath studyWay = createEnum("studyWay", kr.co.studyhubinu.studyhubserver.study.enums.StudyWayType.class); + + public final StringPath title = createString("title"); + + public QStudyPostEntity(String variable) { + super(StudyPostEntity.class, forVariable(variable)); + } + + public QStudyPostEntity(Path path) { + super(path.getType(), path.getMetadata()); + } + + public QStudyPostEntity(PathMetadata metadata) { + super(StudyPostEntity.class, metadata); + } + +} + diff --git a/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/user/domain/QUserEntity.java b/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/user/domain/QUserEntity.java new file mode 100644 index 00000000..cc99f007 --- /dev/null +++ b/build/generated/querydsl/kr/co/studyhubinu/studyhubserver/user/domain/QUserEntity.java @@ -0,0 +1,59 @@ +package kr.co.studyhubinu.studyhubserver.user.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; + + +/** + * QUserEntity is a Querydsl query type for UserEntity + */ +@Generated("com.querydsl.codegen.DefaultEntitySerializer") +public class QUserEntity extends EntityPathBase { + + private static final long serialVersionUID = 228813903L; + + public static final QUserEntity userEntity = new QUserEntity("userEntity"); + + public final kr.co.studyhubinu.studyhubserver.common.domain.QBaseTimeEntity _super = new kr.co.studyhubinu.studyhubserver.common.domain.QBaseTimeEntity(this); + + //inherited + public final DateTimePath createdDate = _super.createdDate; + + public final StringPath email = createString("email"); + + public final EnumPath gender = createEnum("gender", kr.co.studyhubinu.studyhubserver.user.enums.GenderType.class); + + public final NumberPath id = createNumber("id", Long.class); + + public final StringPath imageUrl = createString("imageUrl"); + + public final StringPath imaUrl = createString("imaUrl"); + + public final EnumPath major = createEnum("major", kr.co.studyhubinu.studyhubserver.user.enums.MajorType.class); + + //inherited + public final DateTimePath modifiedDate = _super.modifiedDate; + + public final StringPath nickname = createString("nickname"); + + public final StringPath password = createString("password"); + + public QUserEntity(String variable) { + super(UserEntity.class, forVariable(variable)); + } + + public QUserEntity(Path path) { + super(path.getType(), path.getMetadata()); + } + + public QUserEntity(PathMetadata metadata) { + super(UserEntity.class, metadata); + } + +} +