-
Notifications
You must be signed in to change notification settings - Fork 2
MOSU-103 feat: Add Querydsl query types for various entities #120
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
a2d287e
feat: Add Querydsl query types for various entities
chominju02 1783431
Refactor: Update RefundJpaEntity to rename applicationSchoolId to exa…
chominju02 3dfdedf
test: Add application and test security configuration files for impro…
chominju02 1f7725a
Refactor: Update InquiryAnswerService to improve inquiry retrieval lo…
chominju02 ead3254
test: Add Testcontainers dependencies for improved integration testin…
chominju02 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
src/main/generated/life/mosu/mosuserver/domain/application/QApplicationJpaEntity.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| package life.mosu.mosuserver.domain.application; | ||
|
|
||
| import static com.querydsl.core.types.PathMetadataFactory.*; | ||
|
|
||
| import com.querydsl.core.types.dsl.*; | ||
|
|
||
| import com.querydsl.core.types.dsl.StringTemplate; | ||
|
|
||
| import com.querydsl.core.types.PathMetadata; | ||
| import javax.annotation.processing.Generated; | ||
| import com.querydsl.core.types.Path; | ||
|
|
||
|
|
||
| /** | ||
| * QApplicationJpaEntity is a Querydsl query type for ApplicationJpaEntity | ||
| */ | ||
| @SuppressWarnings("this-escape") | ||
| @Generated("com.querydsl.codegen.DefaultEntitySerializer") | ||
| public class QApplicationJpaEntity extends EntityPathBase<ApplicationJpaEntity> { | ||
|
|
||
| private static final long serialVersionUID = 1861811367L; | ||
|
|
||
| public static final QApplicationJpaEntity applicationJpaEntity = new QApplicationJpaEntity("applicationJpaEntity"); | ||
|
|
||
| public final life.mosu.mosuserver.domain.base.QBaseTimeEntity _super = new life.mosu.mosuserver.domain.base.QBaseTimeEntity(this); | ||
|
|
||
| public final BooleanPath agreedToNotices = createBoolean("agreedToNotices"); | ||
|
|
||
| public final BooleanPath agreedToRefundPolicy = createBoolean("agreedToRefundPolicy"); | ||
|
|
||
| //inherited | ||
| public final DateTimePath<java.time.LocalDateTime> createdAt = _super.createdAt; | ||
|
|
||
| public final NumberPath<Long> id = createNumber("id", Long.class); | ||
|
|
||
| public final StringPath parentPhoneNumber = createString("parentPhoneNumber"); | ||
|
|
||
| //inherited | ||
| public final DateTimePath<java.time.LocalDateTime> updatedAt = _super.updatedAt; | ||
|
|
||
| public final NumberPath<Long> userId = createNumber("userId", Long.class); | ||
|
|
||
| public QApplicationJpaEntity(String variable) { | ||
| super(ApplicationJpaEntity.class, forVariable(variable)); | ||
| } | ||
|
|
||
| public QApplicationJpaEntity(Path<? extends ApplicationJpaEntity> path) { | ||
| super(path.getType(), path.getMetadata()); | ||
| } | ||
|
|
||
| public QApplicationJpaEntity(PathMetadata metadata) { | ||
| super(ApplicationJpaEntity.class, metadata); | ||
| } | ||
|
|
||
| } | ||
|
|
53 changes: 53 additions & 0 deletions
53
src/main/generated/life/mosu/mosuserver/domain/application/QExamTicketImageJpaEntity.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| package life.mosu.mosuserver.domain.application; | ||
|
|
||
| import static com.querydsl.core.types.PathMetadataFactory.*; | ||
|
|
||
| import com.querydsl.core.types.dsl.*; | ||
|
|
||
| import com.querydsl.core.types.dsl.StringTemplate; | ||
|
|
||
| import com.querydsl.core.types.PathMetadata; | ||
| import javax.annotation.processing.Generated; | ||
| import com.querydsl.core.types.Path; | ||
|
|
||
|
|
||
| /** | ||
| * QExamTicketImageJpaEntity is a Querydsl query type for ExamTicketImageJpaEntity | ||
| */ | ||
| @SuppressWarnings("this-escape") | ||
| @Generated("com.querydsl.codegen.DefaultEntitySerializer") | ||
| public class QExamTicketImageJpaEntity extends EntityPathBase<ExamTicketImageJpaEntity> { | ||
|
|
||
| private static final long serialVersionUID = 1620404583L; | ||
|
|
||
| public static final QExamTicketImageJpaEntity examTicketImageJpaEntity = new QExamTicketImageJpaEntity("examTicketImageJpaEntity"); | ||
|
|
||
| public final life.mosu.mosuserver.infra.storage.domain.QFile _super = new life.mosu.mosuserver.infra.storage.domain.QFile(this); | ||
|
|
||
| public final NumberPath<Long> applicationId = createNumber("applicationId", Long.class); | ||
|
|
||
| //inherited | ||
| public final StringPath fileName = _super.fileName; | ||
|
|
||
| public final NumberPath<Long> id = createNumber("id", Long.class); | ||
|
|
||
| //inherited | ||
| public final StringPath s3Key = _super.s3Key; | ||
|
|
||
| //inherited | ||
| public final EnumPath<life.mosu.mosuserver.infra.storage.domain.Visibility> visibility = _super.visibility; | ||
|
|
||
| public QExamTicketImageJpaEntity(String variable) { | ||
| super(ExamTicketImageJpaEntity.class, forVariable(variable)); | ||
| } | ||
|
|
||
| public QExamTicketImageJpaEntity(Path<? extends ExamTicketImageJpaEntity> path) { | ||
| super(path.getType(), path.getMetadata()); | ||
| } | ||
|
|
||
| public QExamTicketImageJpaEntity(PathMetadata metadata) { | ||
| super(ExamTicketImageJpaEntity.class, metadata); | ||
| } | ||
|
|
||
| } | ||
|
|
42 changes: 42 additions & 0 deletions
42
src/main/generated/life/mosu/mosuserver/domain/base/QBaseTimeEntity.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| package life.mosu.mosuserver.domain.base; | ||
|
|
||
| import static com.querydsl.core.types.PathMetadataFactory.*; | ||
|
|
||
| import com.querydsl.core.types.dsl.*; | ||
|
|
||
| import com.querydsl.core.types.dsl.StringTemplate; | ||
|
|
||
| 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 | ||
| */ | ||
| @SuppressWarnings("this-escape") | ||
| @Generated("com.querydsl.codegen.DefaultSupertypeSerializer") | ||
| public class QBaseTimeEntity extends EntityPathBase<BaseTimeEntity> { | ||
|
|
||
| private static final long serialVersionUID = 797273411L; | ||
|
|
||
| public static final QBaseTimeEntity baseTimeEntity = new QBaseTimeEntity("baseTimeEntity"); | ||
|
|
||
| public final DateTimePath<java.time.LocalDateTime> createdAt = createDateTime("createdAt", java.time.LocalDateTime.class); | ||
|
|
||
| public final DateTimePath<java.time.LocalDateTime> updatedAt = createDateTime("updatedAt", 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); | ||
| } | ||
|
|
||
| } | ||
|
|
42 changes: 42 additions & 0 deletions
42
src/main/generated/life/mosu/mosuserver/domain/event/QDurationJpaVO.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| package life.mosu.mosuserver.domain.event; | ||
|
|
||
| import static com.querydsl.core.types.PathMetadataFactory.*; | ||
|
|
||
| import com.querydsl.core.types.dsl.*; | ||
|
|
||
| import com.querydsl.core.types.dsl.StringTemplate; | ||
|
|
||
| import com.querydsl.core.types.PathMetadata; | ||
| import javax.annotation.processing.Generated; | ||
| import com.querydsl.core.types.Path; | ||
|
|
||
|
|
||
| /** | ||
| * QDurationJpaVO is a Querydsl query type for DurationJpaVO | ||
| */ | ||
| @SuppressWarnings("this-escape") | ||
| @Generated("com.querydsl.codegen.DefaultEmbeddableSerializer") | ||
| public class QDurationJpaVO extends BeanPath<DurationJpaVO> { | ||
|
|
||
| private static final long serialVersionUID = 1078282193L; | ||
|
|
||
| public static final QDurationJpaVO durationJpaVO = new QDurationJpaVO("durationJpaVO"); | ||
|
|
||
| public final DatePath<java.time.LocalDate> endDate = createDate("endDate", java.time.LocalDate.class); | ||
|
|
||
| public final DatePath<java.time.LocalDate> startDate = createDate("startDate", java.time.LocalDate.class); | ||
|
|
||
| public QDurationJpaVO(String variable) { | ||
| super(DurationJpaVO.class, forVariable(variable)); | ||
| } | ||
|
|
||
| public QDurationJpaVO(Path<? extends DurationJpaVO> path) { | ||
| super(path.getType(), path.getMetadata()); | ||
| } | ||
|
|
||
| public QDurationJpaVO(PathMetadata metadata) { | ||
| super(DurationJpaVO.class, metadata); | ||
| } | ||
|
|
||
| } | ||
|
|
53 changes: 53 additions & 0 deletions
53
src/main/generated/life/mosu/mosuserver/domain/event/QEventAttachmentJpaEntity.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| package life.mosu.mosuserver.domain.event; | ||
|
|
||
| import static com.querydsl.core.types.PathMetadataFactory.*; | ||
|
|
||
| import com.querydsl.core.types.dsl.*; | ||
|
|
||
| import com.querydsl.core.types.dsl.StringTemplate; | ||
|
|
||
| import com.querydsl.core.types.PathMetadata; | ||
| import javax.annotation.processing.Generated; | ||
| import com.querydsl.core.types.Path; | ||
|
|
||
|
|
||
| /** | ||
| * QEventAttachmentJpaEntity is a Querydsl query type for EventAttachmentJpaEntity | ||
| */ | ||
| @SuppressWarnings("this-escape") | ||
| @Generated("com.querydsl.codegen.DefaultEntitySerializer") | ||
| public class QEventAttachmentJpaEntity extends EntityPathBase<EventAttachmentJpaEntity> { | ||
|
|
||
| private static final long serialVersionUID = 101367536L; | ||
|
|
||
| public static final QEventAttachmentJpaEntity eventAttachmentJpaEntity = new QEventAttachmentJpaEntity("eventAttachmentJpaEntity"); | ||
|
|
||
| public final life.mosu.mosuserver.infra.storage.domain.QFile _super = new life.mosu.mosuserver.infra.storage.domain.QFile(this); | ||
|
|
||
| public final NumberPath<Long> eventId = createNumber("eventId", Long.class); | ||
|
|
||
| //inherited | ||
| public final StringPath fileName = _super.fileName; | ||
|
|
||
| public final NumberPath<Long> id = createNumber("id", Long.class); | ||
|
|
||
| //inherited | ||
| public final StringPath s3Key = _super.s3Key; | ||
|
|
||
| //inherited | ||
| public final EnumPath<life.mosu.mosuserver.infra.storage.domain.Visibility> visibility = _super.visibility; | ||
|
|
||
| public QEventAttachmentJpaEntity(String variable) { | ||
| super(EventAttachmentJpaEntity.class, forVariable(variable)); | ||
| } | ||
|
|
||
| public QEventAttachmentJpaEntity(Path<? extends EventAttachmentJpaEntity> path) { | ||
| super(path.getType(), path.getMetadata()); | ||
| } | ||
|
|
||
| public QEventAttachmentJpaEntity(PathMetadata metadata) { | ||
| super(EventAttachmentJpaEntity.class, metadata); | ||
| } | ||
|
|
||
| } | ||
|
|
49 changes: 49 additions & 0 deletions
49
src/main/generated/life/mosu/mosuserver/domain/event/QEventImage.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| package life.mosu.mosuserver.domain.event; | ||
|
|
||
| import static com.querydsl.core.types.PathMetadataFactory.*; | ||
|
|
||
| import com.querydsl.core.types.dsl.*; | ||
|
|
||
| import com.querydsl.core.types.dsl.StringTemplate; | ||
|
|
||
| import com.querydsl.core.types.PathMetadata; | ||
| import javax.annotation.processing.Generated; | ||
| import com.querydsl.core.types.Path; | ||
|
|
||
|
|
||
| /** | ||
| * QEventImage is a Querydsl query type for EventImage | ||
| */ | ||
| @SuppressWarnings("this-escape") | ||
| @Generated("com.querydsl.codegen.DefaultEmbeddableSerializer") | ||
| public class QEventImage extends BeanPath<EventImage> { | ||
|
|
||
| private static final long serialVersionUID = -1201717424L; | ||
|
|
||
| public static final QEventImage eventImage = new QEventImage("eventImage"); | ||
|
|
||
| public final life.mosu.mosuserver.infra.storage.domain.QFile _super = new life.mosu.mosuserver.infra.storage.domain.QFile(this); | ||
|
|
||
| //inherited | ||
| public final StringPath fileName = _super.fileName; | ||
|
|
||
| //inherited | ||
| public final StringPath s3Key = _super.s3Key; | ||
|
|
||
| //inherited | ||
| public final EnumPath<life.mosu.mosuserver.infra.storage.domain.Visibility> visibility = _super.visibility; | ||
|
|
||
| public QEventImage(String variable) { | ||
| super(EventImage.class, forVariable(variable)); | ||
| } | ||
|
|
||
| public QEventImage(Path<? extends EventImage> path) { | ||
| super(path.getType(), path.getMetadata()); | ||
| } | ||
|
|
||
| public QEventImage(PathMetadata metadata) { | ||
| super(EventImage.class, metadata); | ||
| } | ||
|
|
||
| } | ||
|
|
66 changes: 66 additions & 0 deletions
66
src/main/generated/life/mosu/mosuserver/domain/event/QEventJpaEntity.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| package life.mosu.mosuserver.domain.event; | ||
|
|
||
| import static com.querydsl.core.types.PathMetadataFactory.*; | ||
|
|
||
| import com.querydsl.core.types.dsl.*; | ||
|
|
||
| import com.querydsl.core.types.dsl.StringTemplate; | ||
|
|
||
| import com.querydsl.core.types.PathMetadata; | ||
| import javax.annotation.processing.Generated; | ||
| import com.querydsl.core.types.Path; | ||
| import com.querydsl.core.types.dsl.PathInits; | ||
|
|
||
|
|
||
| /** | ||
| * QEventJpaEntity is a Querydsl query type for EventJpaEntity | ||
| */ | ||
| @SuppressWarnings("this-escape") | ||
| @Generated("com.querydsl.codegen.DefaultEntitySerializer") | ||
| public class QEventJpaEntity extends EntityPathBase<EventJpaEntity> { | ||
|
|
||
| private static final long serialVersionUID = 2141679379L; | ||
|
|
||
| private static final PathInits INITS = PathInits.DIRECT2; | ||
|
|
||
| public static final QEventJpaEntity eventJpaEntity = new QEventJpaEntity("eventJpaEntity"); | ||
|
|
||
| public final life.mosu.mosuserver.domain.base.QBaseTimeEntity _super = new life.mosu.mosuserver.domain.base.QBaseTimeEntity(this); | ||
|
|
||
| //inherited | ||
| public final DateTimePath<java.time.LocalDateTime> createdAt = _super.createdAt; | ||
|
|
||
| public final QDurationJpaVO duration; | ||
|
|
||
| public final StringPath eventLink = createString("eventLink"); | ||
|
|
||
| public final NumberPath<Long> id = createNumber("id", Long.class); | ||
|
|
||
| public final StringPath title = createString("title"); | ||
|
|
||
| //inherited | ||
| public final DateTimePath<java.time.LocalDateTime> updatedAt = _super.updatedAt; | ||
|
|
||
| public QEventJpaEntity(String variable) { | ||
| this(EventJpaEntity.class, forVariable(variable), INITS); | ||
| } | ||
|
|
||
| public QEventJpaEntity(Path<? extends EventJpaEntity> path) { | ||
| this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS)); | ||
| } | ||
|
|
||
| public QEventJpaEntity(PathMetadata metadata) { | ||
| this(metadata, PathInits.getFor(metadata, INITS)); | ||
| } | ||
|
|
||
| public QEventJpaEntity(PathMetadata metadata, PathInits inits) { | ||
| this(EventJpaEntity.class, metadata, inits); | ||
| } | ||
|
|
||
| public QEventJpaEntity(Class<? extends EventJpaEntity> type, PathMetadata metadata, PathInits inits) { | ||
| super(type, metadata, inits); | ||
| this.duration = inits.isInitialized("duration") ? new QDurationJpaVO(forProperty("duration")) : null; | ||
| } | ||
|
|
||
| } | ||
|
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Verify Testcontainers version compatibility.
The Testcontainers dependencies use different versions (MySQL 1.20.0 vs core/junit-jupiter 1.19.3) and the Spring Boot Testcontainers starter (3.3.5) might be outdated compared to the Spring Boot version (3.4.5).
🏁 Script executed:
Length of output: 768
Align Testcontainers versions and update Spring Boot Testcontainers starter
All Testcontainers modules should share the same version and the Spring Boot Testcontainers starter should match your Spring Boot minor version.
• In build.gradle (around lines 93–96):
– Replace
groovy testImplementation 'org.springframework.boot:spring-boot-testcontainers:3.3.5' testImplementation 'org.testcontainers:testcontainers:1.19.3' testImplementation 'org.testcontainers:junit-jupiter:1.19.3' testImplementation 'org.testcontainers:mysql:1.20.0'– With (for example, using the latest 3.4.x starter and Testcontainers 1.21.3):
groovy testImplementation 'org.springframework.boot:spring-boot-testcontainers:3.4.7' testImplementation 'org.testcontainers:testcontainers:1.21.3' testImplementation 'org.testcontainers:junit-jupiter:1.21.3' testImplementation 'org.testcontainers:mysql:1.21.3'• Verify your Spring Boot version (3.4.5) is compatible with the chosen starter (3.4.7).
• Optionally review Maven Central for the exact latest patch releases before finalizing.
🤖 Prompt for AI Agents