-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main'
- Loading branch information
Showing
44 changed files
with
643 additions
and
128 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
build/generated/querydsl/kr/co/studyhubinu/studyhubserver/apply/domain/QRejectEntity.java
This file contains 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,51 @@ | ||
package kr.co.studyhubinu.studyhubserver.apply.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; | ||
|
||
|
||
/** | ||
* QRejectEntity is a Querydsl query type for RejectEntity | ||
*/ | ||
@Generated("com.querydsl.codegen.DefaultEntitySerializer") | ||
public class QRejectEntity extends EntityPathBase<RejectEntity> { | ||
|
||
private static final long serialVersionUID = -1259208686L; | ||
|
||
public static final QRejectEntity rejectEntity = new QRejectEntity("rejectEntity"); | ||
|
||
public final kr.co.studyhubinu.studyhubserver.common.domain.QBaseTimeEntity _super = new kr.co.studyhubinu.studyhubserver.common.domain.QBaseTimeEntity(this); | ||
|
||
//inherited | ||
public final DateTimePath<java.time.LocalDateTime> createdDate = _super.createdDate; | ||
|
||
public final NumberPath<Long> id = createNumber("id", Long.class); | ||
|
||
//inherited | ||
public final DateTimePath<java.time.LocalDateTime> modifiedDate = _super.modifiedDate; | ||
|
||
public final NumberPath<Long> rejectedUserId = createNumber("rejectedUserId", Long.class); | ||
|
||
public final StringPath rejectReason = createString("rejectReason"); | ||
|
||
public final NumberPath<Long> studyId = createNumber("studyId", Long.class); | ||
|
||
public QRejectEntity(String variable) { | ||
super(RejectEntity.class, forVariable(variable)); | ||
} | ||
|
||
public QRejectEntity(Path<? extends RejectEntity> path) { | ||
super(path.getType(), path.getMetadata()); | ||
} | ||
|
||
public QRejectEntity(PathMetadata metadata) { | ||
super(RejectEntity.class, metadata); | ||
} | ||
|
||
} | ||
|
53 changes: 53 additions & 0 deletions
53
.../generated/querydsl/kr/co/studyhubinu/studyhubserver/notice/domain/QTermsOfUseEntity.java
This file contains 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 kr.co.studyhubinu.studyhubserver.notice.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; | ||
|
||
|
||
/** | ||
* QTermsOfUseEntity is a Querydsl query type for TermsOfUseEntity | ||
*/ | ||
@Generated("com.querydsl.codegen.DefaultEntitySerializer") | ||
public class QTermsOfUseEntity extends EntityPathBase<TermsOfUseEntity> { | ||
|
||
private static final long serialVersionUID = -1621487174L; | ||
|
||
public static final QTermsOfUseEntity termsOfUseEntity = new QTermsOfUseEntity("termsOfUseEntity"); | ||
|
||
public final kr.co.studyhubinu.studyhubserver.common.domain.QBaseTimeEntity _super = new kr.co.studyhubinu.studyhubserver.common.domain.QBaseTimeEntity(this); | ||
|
||
public final StringPath article = createString("article"); | ||
|
||
public final StringPath content = createString("content"); | ||
|
||
//inherited | ||
public final DateTimePath<java.time.LocalDateTime> createdDate = _super.createdDate; | ||
|
||
public final NumberPath<Long> id = createNumber("id", Long.class); | ||
|
||
//inherited | ||
public final DateTimePath<java.time.LocalDateTime> modifiedDate = _super.modifiedDate; | ||
|
||
public final StringPath title = createString("title"); | ||
|
||
public final StringPath version = createString("version"); | ||
|
||
public QTermsOfUseEntity(String variable) { | ||
super(TermsOfUseEntity.class, forVariable(variable)); | ||
} | ||
|
||
public QTermsOfUseEntity(Path<? extends TermsOfUseEntity> path) { | ||
super(path.getType(), path.getMetadata()); | ||
} | ||
|
||
public QTermsOfUseEntity(PathMetadata metadata) { | ||
super(TermsOfUseEntity.class, metadata); | ||
} | ||
|
||
} | ||
|
Binary file not shown.
This file contains 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
This file contains 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
20 changes: 20 additions & 0 deletions
20
src/main/java/kr/co/studyhubinu/studyhubserver/apply/dto/data/RequestApplyData.java
This file contains 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,20 @@ | ||
package kr.co.studyhubinu.studyhubserver.apply.dto.data; | ||
|
||
import kr.co.studyhubinu.studyhubserver.apply.enums.Inspection; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class RequestApplyData { | ||
|
||
private final Long studyId; | ||
private final String studyTitle; | ||
private final Inspection inspection; | ||
private final String introduce; | ||
|
||
public RequestApplyData(Long studyId, String studyTitle, Inspection inspection, String introduce) { | ||
this.studyId = studyId; | ||
this.studyTitle = studyTitle; | ||
this.inspection = inspection; | ||
this.introduce = introduce; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
src/main/java/kr/co/studyhubinu/studyhubserver/apply/dto/request/AcceptApplyRequest.java
This file contains 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,21 @@ | ||
package kr.co.studyhubinu.studyhubserver.apply.dto.request; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
import javax.validation.constraints.NotNull; | ||
|
||
@Getter | ||
@NoArgsConstructor | ||
public class AcceptApplyRequest { | ||
|
||
@Schema(description = "스터디 아이디") | ||
@NotNull(message = "스터디 아이디는 필수입니다!") | ||
private Long studyId; | ||
|
||
@Schema(description = "거절당하는 유저 아이디") | ||
@NotNull(message = "거절된 유저 아이디는 필수입니다!") | ||
private Long rejectedUserId; | ||
|
||
} |
7 changes: 5 additions & 2 deletions
7
src/main/java/kr/co/studyhubinu/studyhubserver/apply/dto/request/FindApplyRequest.java
This file contains 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 |
---|---|---|
@@ -1,15 +1,18 @@ | ||
package kr.co.studyhubinu.studyhubserver.apply.dto.request; | ||
|
||
import kr.co.studyhubinu.studyhubserver.apply.enums.Inspection; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class FindApplyRequest { | ||
|
||
private Long studyId; | ||
private final Long studyId; | ||
private final Inspection inspection; | ||
|
||
@Builder | ||
public FindApplyRequest(Long studyId) { | ||
public FindApplyRequest(Long studyId, Inspection inspection) { | ||
this.studyId = studyId; | ||
this.inspection = inspection; | ||
} | ||
} |
20 changes: 17 additions & 3 deletions
20
src/main/java/kr/co/studyhubinu/studyhubserver/apply/dto/request/RejectApplyRequest.java
This file contains 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
18 changes: 18 additions & 0 deletions
18
.../java/kr/co/studyhubinu/studyhubserver/apply/dto/response/FindMyRequestApplyResponse.java
This file contains 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,18 @@ | ||
package kr.co.studyhubinu.studyhubserver.apply.dto.response; | ||
|
||
import kr.co.studyhubinu.studyhubserver.apply.dto.data.ParticipateApplyData; | ||
import kr.co.studyhubinu.studyhubserver.apply.dto.data.RequestApplyData; | ||
import lombok.Getter; | ||
import org.springframework.data.domain.Slice; | ||
|
||
@Getter | ||
public class FindMyRequestApplyResponse { | ||
|
||
private Long totalCount; | ||
Slice<RequestApplyData> requestStudyData; | ||
|
||
public FindMyRequestApplyResponse(Long totalCount, Slice<RequestApplyData> requestStudyData) { | ||
this.totalCount = totalCount; | ||
this.requestStudyData = requestStudyData; | ||
} | ||
} |
This file contains 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
This file contains 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
Oops, something went wrong.