Skip to content
Merged
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ out/
### VS Code ###
.vscode/

### Environment variables ###
### Environment variables ###::wq

.env
*.env
24 changes: 23 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ plugins {
id 'io.spring.dependency-management' version '1.1.7'
}

ext {
queryDslVersion = "5.0.0"
}

group = 'com.example'
version = '0.0.1-SNAPSHOT'

Expand Down Expand Up @@ -38,6 +42,10 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
implementation 'com.amazonaws:aws-java-sdk-s3:1.12.538'
implementation "com.querydsl:querydsl-jpa:${queryDslVersion}:jakarta"
annotationProcessor "com.querydsl:querydsl-apt:${queryDslVersion}:jakarta"
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
}

tasks.named('test') {
Expand All @@ -46,4 +54,18 @@ tasks.named('test') {

jar {
enabled = false
}
}

def querydslDir = "src/main/generated"

sourceSets {
main {
java {
srcDirs += querydslDir
}
}
}

tasks.withType(JavaCompile).configureEach {
options.annotationProcessorGeneratedSourcesDirectory = file(querydslDir)
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
package com.example.FixLog.domain.bookmark;

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;
import com.querydsl.core.types.dsl.PathInits;


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

private static final long serialVersionUID = -975112590L;

private static final PathInits INITS = PathInits.DIRECT2;

public static final QBookmark bookmark = new QBookmark("bookmark");

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

public final QBookmarkFolder folderId;

public final BooleanPath isMarked = createBoolean("isMarked");

public final com.example.FixLog.domain.post.QPost postId;

public QBookmark(String variable) {
this(Bookmark.class, forVariable(variable), INITS);
}

public QBookmark(Path<? extends Bookmark> path) {
this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS));
}

public QBookmark(PathMetadata metadata) {
this(metadata, PathInits.getFor(metadata, INITS));
}

public QBookmark(PathMetadata metadata, PathInits inits) {
this(Bookmark.class, metadata, inits);
}

public QBookmark(Class<? extends Bookmark> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.folderId = inits.isInitialized("folderId") ? new QBookmarkFolder(forProperty("folderId"), inits.get("folderId")) : null;
this.postId = inits.isInitialized("postId") ? new com.example.FixLog.domain.post.QPost(forProperty("postId"), inits.get("postId")) : null;
}

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
package com.example.FixLog.domain.bookmark;

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;
import com.querydsl.core.types.dsl.PathInits;


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

private static final long serialVersionUID = 655942016L;

private static final PathInits INITS = PathInits.DIRECT2;

public static final QBookmarkFolder bookmarkFolder = new QBookmarkFolder("bookmarkFolder");

public final ListPath<Bookmark, QBookmark> bookmarks = this.<Bookmark, QBookmark>createList("bookmarks", Bookmark.class, QBookmark.class, PathInits.DIRECT2);

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

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

public final com.example.FixLog.domain.member.QMember userId;

public QBookmarkFolder(String variable) {
this(BookmarkFolder.class, forVariable(variable), INITS);
}

public QBookmarkFolder(Path<? extends BookmarkFolder> path) {
this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS));
}

public QBookmarkFolder(PathMetadata metadata) {
this(metadata, PathInits.getFor(metadata, INITS));
}

public QBookmarkFolder(PathMetadata metadata, PathInits inits) {
this(BookmarkFolder.class, metadata, inits);
}

public QBookmarkFolder(Class<? extends BookmarkFolder> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.userId = inits.isInitialized("userId") ? new com.example.FixLog.domain.member.QMember(forProperty("userId"), inits.get("userId")) : null;
}

}

54 changes: 54 additions & 0 deletions src/main/generated/com/example/FixLog/domain/follow/QFollow.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
package com.example.FixLog.domain.follow;

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;
import com.querydsl.core.types.dsl.PathInits;


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

private static final long serialVersionUID = 1281338898L;

private static final PathInits INITS = PathInits.DIRECT2;

public static final QFollow follow = new QFollow("follow");

public final com.example.FixLog.domain.member.QMember followerId;

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

public final com.example.FixLog.domain.member.QMember followingId;

public QFollow(String variable) {
this(Follow.class, forVariable(variable), INITS);
}

public QFollow(Path<? extends Follow> path) {
this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS));
}

public QFollow(PathMetadata metadata) {
this(metadata, PathInits.getFor(metadata, INITS));
}

public QFollow(PathMetadata metadata, PathInits inits) {
this(Follow.class, metadata, inits);
}

public QFollow(Class<? extends Follow> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.followerId = inits.isInitialized("followerId") ? new com.example.FixLog.domain.member.QMember(forProperty("followerId"), inits.get("followerId")) : null;
this.followingId = inits.isInitialized("followingId") ? new com.example.FixLog.domain.member.QMember(forProperty("followingId"), inits.get("followingId")) : null;
}

}

57 changes: 57 additions & 0 deletions src/main/generated/com/example/FixLog/domain/fork/QFork.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
package com.example.FixLog.domain.fork;

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;
import com.querydsl.core.types.dsl.PathInits;


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

private static final long serialVersionUID = 1327242738L;

private static final PathInits INITS = PathInits.DIRECT2;

public static final QFork fork = new QFork("fork");

public final com.example.FixLog.domain.post.QPost forkedPostId;

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

public final com.example.FixLog.domain.post.QPost originalPostId;

public final com.example.FixLog.domain.member.QMember userId;

public QFork(String variable) {
this(Fork.class, forVariable(variable), INITS);
}

public QFork(Path<? extends Fork> path) {
this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS));
}

public QFork(PathMetadata metadata) {
this(metadata, PathInits.getFor(metadata, INITS));
}

public QFork(PathMetadata metadata, PathInits inits) {
this(Fork.class, metadata, inits);
}

public QFork(Class<? extends Fork> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.forkedPostId = inits.isInitialized("forkedPostId") ? new com.example.FixLog.domain.post.QPost(forProperty("forkedPostId"), inits.get("forkedPostId")) : null;
this.originalPostId = inits.isInitialized("originalPostId") ? new com.example.FixLog.domain.post.QPost(forProperty("originalPostId"), inits.get("originalPostId")) : null;
this.userId = inits.isInitialized("userId") ? new com.example.FixLog.domain.member.QMember(forProperty("userId"), inits.get("userId")) : null;
}

}

56 changes: 56 additions & 0 deletions src/main/generated/com/example/FixLog/domain/like/QPostLike.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
package com.example.FixLog.domain.like;

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;
import com.querydsl.core.types.dsl.PathInits;


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

private static final long serialVersionUID = -1255529902L;

private static final PathInits INITS = PathInits.DIRECT2;

public static final QPostLike postLike = new QPostLike("postLike");

public final BooleanPath isLiked = createBoolean("isLiked");

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

public final com.example.FixLog.domain.post.QPost postId;

public final com.example.FixLog.domain.member.QMember userId;

public QPostLike(String variable) {
this(PostLike.class, forVariable(variable), INITS);
}

public QPostLike(Path<? extends PostLike> path) {
this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS));
}

public QPostLike(PathMetadata metadata) {
this(metadata, PathInits.getFor(metadata, INITS));
}

public QPostLike(PathMetadata metadata, PathInits inits) {
this(PostLike.class, metadata, inits);
}

public QPostLike(Class<? extends PostLike> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.postId = inits.isInitialized("postId") ? new com.example.FixLog.domain.post.QPost(forProperty("postId"), inits.get("postId")) : null;
this.userId = inits.isInitialized("userId") ? new com.example.FixLog.domain.member.QMember(forProperty("userId"), inits.get("userId")) : null;
}

}

Loading