Skip to content

Commit

Permalink
#78 [feat] refactor-v1과 develop 브랜치의 충돌을 해결한다.3
Browse files Browse the repository at this point in the history
  • Loading branch information
juuuunny committed Nov 26, 2024
1 parent 8ac25d0 commit 24b377f
Show file tree
Hide file tree
Showing 9 changed files with 511 additions and 1 deletion.
21 changes: 20 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,27 @@ java {
}
}

def querydslDir = "src/main/generated"
tasks.named('compileJava', JavaCompile).configure {
options.annotationProcessorGeneratedSourcesDirectory = file("$build/generated/sources/annotationProcessor/java/main")
}

sourceSets {
main {
java {
srcDirs += "$build/generated/sources/annotationProcessor/java/main"
}
}
}

tasks.named('compileJava') {
doFirst {
// QClass 파일 자동 삭제
def querydslGeneratedDir = layout.buildDirectory.dir("generated/sources/annotationProcessor/java/main").get().asFile
if (querydslGeneratedDir.exists()) {
querydslGeneratedDir.deleteDir()
}
}
}
ext {
snippetsDir = file('build/generated-snippets')
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package kusitms.backend.global.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<BaseTimeEntity> {

private static final long serialVersionUID = 93890542L;

public static final QBaseTimeEntity baseTimeEntity = new QBaseTimeEntity("baseTimeEntity");

public final DateTimePath<java.time.LocalDateTime> createdDate = createDateTime("createdDate", java.time.LocalDateTime.class);

public final DateTimePath<java.time.LocalDateTime> updatedDate = createDateTime("updatedDate", java.time.LocalDateTime.class);

public QBaseTimeEntity(String variable) {
super(BaseTimeEntity.class, forVariable(variable));
}

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

public QBaseTimeEntity(PathMetadata metadata) {
super(BaseTimeEntity.class, metadata);
}

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
package kusitms.backend.result.infra.jpa.entity;

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;


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

private static final long serialVersionUID = -37031019L;

private static final PathInits INITS = PathInits.DIRECT2;

public static final QProfileEntity profileEntity = new QProfileEntity("profileEntity");

public final kusitms.backend.global.domain.QBaseTimeEntity _super = new kusitms.backend.global.domain.QBaseTimeEntity(this);

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

public final ListPath<String, StringPath> hashTags = this.<String, StringPath>createList("hashTags", String.class, StringPath.class, PathInits.DIRECT2);

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

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

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

public final QResultEntity resultEntity;

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

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

public QProfileEntity(String variable) {
this(ProfileEntity.class, forVariable(variable), INITS);
}

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

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

public QProfileEntity(PathMetadata metadata, PathInits inits) {
this(ProfileEntity.class, metadata, inits);
}

public QProfileEntity(Class<? extends ProfileEntity> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.resultEntity = inits.isInitialized("resultEntity") ? new QResultEntity(forProperty("resultEntity"), inits.get("resultEntity")) : null;
}

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
package kusitms.backend.result.infra.jpa.entity;

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;


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

private static final long serialVersionUID = -450275177L;

private static final PathInits INITS = PathInits.DIRECT2;

public static final QResultEntity resultEntity = new QResultEntity("resultEntity");

public final kusitms.backend.global.domain.QBaseTimeEntity _super = new kusitms.backend.global.domain.QBaseTimeEntity(this);

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

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

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

public final QProfileEntity profileEntity;

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

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

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

public final ListPath<ZoneEntity, QZoneEntity> zoneEntities = this.<ZoneEntity, QZoneEntity>createList("zoneEntities", ZoneEntity.class, QZoneEntity.class, PathInits.DIRECT2);

public QResultEntity(String variable) {
this(ResultEntity.class, forVariable(variable), INITS);
}

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

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

public QResultEntity(PathMetadata metadata, PathInits inits) {
this(ResultEntity.class, metadata, inits);
}

public QResultEntity(Class<? extends ResultEntity> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.profileEntity = inits.isInitialized("profileEntity") ? new QProfileEntity(forProperty("profileEntity"), inits.get("profileEntity")) : null;
}

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
package kusitms.backend.result.infra.jpa.entity;

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;


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

private static final long serialVersionUID = 85634726L;

private static final PathInits INITS = PathInits.DIRECT2;

public static final QZoneEntity zoneEntity = new QZoneEntity("zoneEntity");

public final kusitms.backend.global.domain.QBaseTimeEntity _super = new kusitms.backend.global.domain.QBaseTimeEntity(this);

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

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

public final ListPath<String, StringPath> explanations = this.<String, StringPath>createList("explanations", String.class, StringPath.class, PathInits.DIRECT2);

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

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

public final ListPath<kusitms.backend.result.domain.value.ReferencesGroup, SimplePath<kusitms.backend.result.domain.value.ReferencesGroup>> referencesGroup = this.<kusitms.backend.result.domain.value.ReferencesGroup, SimplePath<kusitms.backend.result.domain.value.ReferencesGroup>>createList("referencesGroup", kusitms.backend.result.domain.value.ReferencesGroup.class, SimplePath.class, PathInits.DIRECT2);

public final QResultEntity resultEntity;

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

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

public QZoneEntity(String variable) {
this(ZoneEntity.class, forVariable(variable), INITS);
}

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

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

public QZoneEntity(PathMetadata metadata, PathInits inits) {
this(ZoneEntity.class, metadata, inits);
}

public QZoneEntity(Class<? extends ZoneEntity> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.resultEntity = inits.isInitialized("resultEntity") ? new QResultEntity(forProperty("resultEntity"), inits.get("resultEntity")) : null;
}

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
package kusitms.backend.stadium.infra.jpa.entity;

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;


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

private static final long serialVersionUID = -436070736L;

private static final PathInits INITS = PathInits.DIRECT2;

public static final QEntertainmentEntity entertainmentEntity = new QEntertainmentEntity("entertainmentEntity");

public final kusitms.backend.global.domain.QBaseTimeEntity _super = new kusitms.backend.global.domain.QBaseTimeEntity(this);

public final EnumPath<kusitms.backend.stadium.domain.enums.Boundary> boundary = createEnum("boundary", kusitms.backend.stadium.domain.enums.Boundary.class);

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

public final ListPath<String, StringPath> explanations = this.<String, StringPath>createList("explanations", String.class, StringPath.class, PathInits.DIRECT2);

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

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

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

public final QStadiumEntity stadiumEntity;

public final ListPath<String, StringPath> tips = this.<String, StringPath>createList("tips", String.class, StringPath.class, PathInits.DIRECT2);

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

public QEntertainmentEntity(String variable) {
this(EntertainmentEntity.class, forVariable(variable), INITS);
}

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

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

public QEntertainmentEntity(PathMetadata metadata, PathInits inits) {
this(EntertainmentEntity.class, metadata, inits);
}

public QEntertainmentEntity(Class<? extends EntertainmentEntity> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.stadiumEntity = inits.isInitialized("stadiumEntity") ? new QStadiumEntity(forProperty("stadiumEntity")) : null;
}

}

Loading

0 comments on commit 24b377f

Please sign in to comment.