Skip to content
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

[Develop] 10주차 PR #133

Merged
merged 138 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
9f531bb
[feat] 로그인 성공 시, frontend 주소로 redirect
suhyeon7497 Oct 30, 2024
51c3f4b
[refactor] 로그인 query문 2개 -> 1개
suhyeon7497 Oct 30, 2024
099b6ed
[feat] Kakao Location Message만들기
suhyeon7497 Oct 31, 2024
87e2dd1
Merge branch 'feat/#7-place' into feat/#87-liked-place
dong-yxxn Oct 31, 2024
e2aca49
[chore] webClientConfig 추가
suhyeon7497 Oct 31, 2024
1ec8a44
[chore] kakaoMessageToMeUrl 추가
suhyeon7497 Oct 31, 2024
be0f1ac
[fix] WebClientConfig에 @Configuration 추가
suhyeon7497 Oct 31, 2024
e184d81
[feat]: LikedPlace Entity와 Repository를 생성했어요!
dong-yxxn Oct 31, 2024
d5cc620
[feat] 장소 좋아요 기능 구현
dong-yxxn Nov 1, 2024
85ff328
[chore] import문 최적화
Nov 2, 2024
fd2dd1f
[refactor] html 파일이 모두 모달을 사용하게 되어서 css 파일 통합
Nov 2, 2024
05920f8
[refactor] css 파일 통합에 따른 수정
Nov 2, 2024
e17f24b
[feat] 장소 정보 검색 기능 구현
Nov 2, 2024
1b93cb2
[refactor] makeCookie Static
suhyeon7497 Nov 2, 2024
3427a70
[feat] 현재 로그인 되어있지 않은 유저 확인
suhyeon7497 Nov 2, 2024
40be572
Revert "[refactor] html 파일이 모두 모달을 사용하게 되어서 css 파일 통합"
Nov 4, 2024
7dc6d87
[refactor] 모달을 쓰는 두 페이지의 공통 css와 에러 관련 css를 분리
Nov 4, 2024
22afabb
[feat] 리뷰 반환에 본인 여부 추가
wndlthsk Nov 4, 2024
56b2fe6
[test] 리뷰 반환 테스트 추가
wndlthsk Nov 4, 2024
8eb7459
[feat] 리뷰 삭제 기능
wndlthsk Nov 4, 2024
e1c27a3
[test] 리뷰 삭제 테스트 추가
wndlthsk Nov 4, 2024
39838e8
[refactor] 원시값 제거
suhyeon7497 Nov 4, 2024
d8b553d
[feat] 로그인 시 oauthToken 저장
suhyeon7497 Nov 4, 2024
387dc9b
Merge branch 'weekly/10' of https://github.com/kakao-tech-campus-2nd-…
suhyeon7497 Nov 4, 2024
e3ceb91
[chore] 누락정보 추가
suhyeon7497 Nov 4, 2024
a18717e
[chore] 오타 수정
suhyeon7497 Nov 4, 2024
d973333
Merge pull request #100 from kakao-tech-campus-2nd-step3/feat/#99-Vid…
sanghee0820 Nov 4, 2024
3b137bf
[feat] PlaceInfo와 PlaceDetailInfo에 좋아요 여부를 반영했어요
dong-yxxn Nov 5, 2024
f64eca1
[refactor] place정보를 크롤링 해 오는 매서드 이름 변경
sanghee0820 Nov 5, 2024
bc8d191
[refactor] 장소 정보와 위치 정보 반환 매서드 이름 변경
sanghee0820 Nov 5, 2024
2fc1b43
[feat] 장소 관련 에러 코드 추가
sanghee0820 Nov 5, 2024
7dc1a35
[refactor] 이너클래스로 DTO 변경
sanghee0820 Nov 5, 2024
1dcb79b
[feat] placeId로 장소 정보 찾기 기능 추가
sanghee0820 Nov 5, 2024
0a9e71f
[feat] video에 place 업데이트 기능 추가
sanghee0820 Nov 5, 2024
307ec32
[feat] placeId로 크롤링 해 저장하는 기능 추가
sanghee0820 Nov 5, 2024
067ad06
[chore] 에러 메세지를 영어에서 한글로 변경
suhyeon7497 Nov 5, 2024
b0a0241
[feat] OauthToken DB 저장할때 암호화
suhyeon7497 Nov 5, 2024
aba24d2
conflict merge
dong-yxxn Nov 6, 2024
294ac26
[feat] Cool 한 그곳을 반환하는 로직 및 api 작성
Nov 6, 2024
13ec079
Merge remote-tracking branch 'origin/weekly/10' into feat/#87-liked-p…
dong-yxxn Nov 6, 2024
fc74828
[chore] description 수정
Nov 6, 2024
7d409fb
Merge remote-tracking branch 'origin/Master' into feat/#103-VideoCool…
Nov 6, 2024
7dbd5f1
[build] 중복 빌드문 삭제
Nov 6, 2024
9f1936e
Merge pull request #102 from kakao-tech-campus-2nd-step3/feat/#50-pla…
sanghee0820 Nov 6, 2024
8e06474
[feat] 서버 사이드 렌더링으로 변경
sanghee0820 Nov 6, 2024
e0b032e
[fix] " "로 기본값을 설정해 파싱 시 인덱스 오류 수정
sanghee0820 Nov 6, 2024
7a0cb0e
[feat] 서버 사이드 렌더링 어트리뷰트 추가
sanghee0820 Nov 6, 2024
b416644
[feat] Video에 장소 정보 등록 API 추가
sanghee0820 Nov 6, 2024
8f87ca4
[feat] 페이지네이션 추가
sanghee0820 Nov 6, 2024
10770ec
[fix] 기본 값을 공백을 포함한 문자열로 추가
sanghee0820 Nov 6, 2024
b6a5c42
[fix] 비디오 조회수 첫 등록 시, increase 수치를 viewcount와 동일하게 설정
Nov 6, 2024
1c6246a
[feat] placeMessage를 위한 LinkTemplate정의
suhyeon7497 Nov 6, 2024
6db5526
[feat] placeMessage를 보내는 기능 작성
suhyeon7497 Nov 6, 2024
f02bbdc
[test] video 도메인의 repository 클래스 유닛 테스트 구현
Nov 6, 2024
9c3b62c
[feat] placeMessage를 보내는 controller를 작성하였습니다.
suhyeon7497 Nov 6, 2024
822d75c
[feat] Test 과정에서 Id 삽입을 위한 Util 클래스 구현
Nov 6, 2024
bc6bf23
[test] video 도메인의 service 클래스 유닛 테스트 구현
Nov 6, 2024
32fa73a
[refactor] 내 주변 장소의 비디오를 찾을 때, 경계값 정보를 고정적으로 사용 ( 인자로 받지 않음 )
Nov 6, 2024
d6bab19
[refactor] 기본 값 설정 및 범위 조건 변경
Nov 6, 2024
e4c952c
[refactor] 불필요한 public 접근제한자 제거
dong-yxxn Nov 6, 2024
ca55b4c
[refactor]: likedPlace save 메서드 위치변경으로 응집성 향상
dong-yxxn Nov 6, 2024
f579164
[refactor]: error코드 메시지를 한글로 변경함
dong-yxxn Nov 6, 2024
a7696fb
Merge pull request #107 from kakao-tech-campus-2nd-step3/feat/#101-cr…
sanghee0820 Nov 6, 2024
01d1f79
[refactor] placeMessageCommand에서 uuid를 바로 사용하도록 하였습니다.
suhyeon7497 Nov 6, 2024
4da980d
Merge branch 'weekly/10' of https://github.com/kakao-tech-campus-2nd-…
suhyeon7497 Nov 6, 2024
9add6fd
[fix] .env파일을 삭제하고 다시 만들도록 변경
sanghee0820 Nov 6, 2024
cde55a1
Merge pull request #112 from kakao-tech-campus-2nd-step3/feat/#111-de…
sanghee0820 Nov 6, 2024
c9b59a1
[fix] cat문 삭제
sanghee0820 Nov 6, 2024
a141b37
Merge pull request #113 from kakao-tech-campus-2nd-step3/feat/#111-de…
sanghee0820 Nov 6, 2024
812c192
[refactor]: userId 사용으로 db 접근 최소화
dong-yxxn Nov 6, 2024
6a7d7af
Merge branch 'weekly/10' into feat/#87-liked-place
dong-yxxn Nov 6, 2024
8716aca
[fix] 충돌 및 오타해결
dong-yxxn Nov 6, 2024
e104cda
[feat] 무중단 배포
wndlthsk Nov 6, 2024
41ef6be
Merge pull request #114 from kakao-tech-campus-2nd-step3/feat/#108-bl…
wndlthsk Nov 6, 2024
82927b6
[schema] place관련 DDL에 cascade 추가
sanghee0820 Nov 7, 2024
f1dbff2
[schema] 새로 추가된 엔티티 DDL추가
sanghee0820 Nov 7, 2024
126ae20
[chore] 리뷰 패키지 추가
wndlthsk Nov 7, 2024
26af073
[refactor] ChannelUUID를 통해 비디오 채널을 찾도록 수정
sanghee0820 Nov 7, 2024
2f5cb70
[refactor] videoCommand가 null일 경우 처리 추가
sanghee0820 Nov 7, 2024
006383d
Merge remote-tracking branch 'origin/weekly/10' into feat/#87-liked-p…
dong-yxxn Nov 7, 2024
ce89ffe
[fix] 리뷰 에러코드 수정
wndlthsk Nov 7, 2024
e8c843c
[refactor] 패키지 이동으로 인한 변경
wndlthsk Nov 7, 2024
044afa1
[feat] 여러 인플루언서 좋아요 로직 추가
wndlthsk Nov 7, 2024
bf9f66a
[chore] 충돌해결
wndlthsk Nov 7, 2024
f0f0e2a
[fix] 오타 수정
wndlthsk Nov 7, 2024
b7a77cc
[feat] 비디오 삭제버튼 추가
sanghee0820 Nov 7, 2024
d42bc2a
[feat] 비디오 삭제 기능 추가
sanghee0820 Nov 7, 2024
649daf6
Merge pull request #106 from kakao-tech-campus-2nd-step3/feat/#87-lik…
sanghee0820 Nov 7, 2024
4eb0074
[feat] 특정 시간 뒤 작동하는 기능
suhyeon7497 Nov 7, 2024
a1d7262
[refactor]: Place faliclity가 빈문자열일때, 빈 json 반환하도록 수정
dong-yxxn Nov 7, 2024
0549234
Merge branch 'weekly/10' into feat/#50-placeMessage
dong-yxxn Nov 7, 2024
2114ab0
[feat] 3일 뒤 review message를 보내는 기능
suhyeon7497 Nov 7, 2024
64c238c
Merge pull request #117 from kakao-tech-campus-2nd-step3/feat/#87-lik…
sanghee0820 Nov 7, 2024
3f61de9
[fix] 404 및 500 에러 해결
Nov 7, 2024
0e03c0a
Merge pull request #116 from kakao-tech-campus-2nd-step3/feat/#75-pla…
sanghee0820 Nov 7, 2024
aac5563
Merge remote-tracking branch 'origin/weekly/10' into refactor/VideoUs…
Nov 7, 2024
48c85b7
Merge branch 'weekly/10' of https://github.com/kakao-tech-campus-2nd-…
suhyeon7497 Nov 7, 2024
8162657
[chore] 주석 삭제
Nov 7, 2024
6d87f09
[refactor] 유저 로그인 체크 방식 변경
Nov 7, 2024
859be3d
Merge branch 'feat/#50-placeMessage' of https://github.com/kakao-tech…
suhyeon7497 Nov 7, 2024
a182dcd
Merge pull request #110 from kakao-tech-campus-2nd-step3/feat/#103-Vi…
BaeJunH0 Nov 7, 2024
96ef99b
Merge pull request #109 from kakao-tech-campus-2nd-step3/feat/#50-pla…
sanghee0820 Nov 7, 2024
7997b4a
[chore] console에 log 남는 거 삭제
suhyeon7497 Nov 7, 2024
f702ff8
[refactor]: facility Json 변경
dong-yxxn Nov 7, 2024
e0b1c03
Merge remote-tracking branch 'origin/weekly/10' into feat/#87-liked-p…
dong-yxxn Nov 7, 2024
7a0dac2
Merge pull request #120 from kakao-tech-campus-2nd-step3/feat/#87-lik…
sanghee0820 Nov 7, 2024
e5ba0a7
[feat] 유저 닉네임 변경 기능 구현
Nov 7, 2024
ab39417
Merge pull request #119 from kakao-tech-campus-2nd-step3/feat/#50-pla…
sanghee0820 Nov 7, 2024
8fcde86
[refactor] 위도 및 경도 기본 값과 계산 매개변수 변경
Nov 7, 2024
6339b93
[fix] 컨테이너 이름 오류
wndlthsk Nov 7, 2024
db953a6
Merge pull request #123 from kakao-tech-campus-2nd-step3/feat/#108-bl…
wndlthsk Nov 7, 2024
0a7fefd
Merge remote-tracking branch 'origin/weekly/10' into refactor/VideoUs…
Nov 7, 2024
b3dcb97
Merge pull request #121 from kakao-tech-campus-2nd-step3/feat/#104-ni…
sanghee0820 Nov 7, 2024
87eeecd
Merge pull request #118 from kakao-tech-campus-2nd-step3/refactor/Vid…
sanghee0820 Nov 7, 2024
ebdb234
[fix] 이전 컨테이너 삭제
wndlthsk Nov 7, 2024
9acac2b
Merge pull request #124 from kakao-tech-campus-2nd-step3/feat/#108-bl…
wndlthsk Nov 7, 2024
d8d4179
[fix] 현재버전 환경변수 사용으로 수정
wndlthsk Nov 7, 2024
9f91bbb
Merge pull request #125 from kakao-tech-campus-2nd-step3/feat/#108-bl…
wndlthsk Nov 7, 2024
bb10199
[fix] 대문자 오류를 소문자로 변경
wndlthsk Nov 7, 2024
878c9ff
Merge pull request #126 from kakao-tech-campus-2nd-step3/feat/#108-bl…
wndlthsk Nov 7, 2024
d83b167
[refactor] 코드 간결화
wndlthsk Nov 8, 2024
635ce37
[refactor] isNotLoginUser() 사용으로 변경
wndlthsk Nov 8, 2024
df72cda
[hotfix]: liked_place table 생성
dong-yxxn Nov 8, 2024
d88d8c9
Merge remote-tracking branch 'origin/weekly/10' into feat/#87-liked-p…
dong-yxxn Nov 8, 2024
50b48be
[refactor]: 패키지명 LikedPlace -> likedPlace로 변경함
dong-yxxn Nov 8, 2024
3720294
[refactor]: liked_places 테이블 생성 DDL 추가
dong-yxxn Nov 8, 2024
b91dc35
[refactor]: PlacesResponse를 Page형식으로 변경
dong-yxxn Nov 8, 2024
d5f76d4
[refactor] 인플루언서 반환 페이지네이션 적용
wndlthsk Nov 8, 2024
31f3070
[refactor] 테스트 수정
wndlthsk Nov 8, 2024
d6d096f
Merge pull request #129 from kakao-tech-campus-2nd-step3/feat/#87-lik…
sanghee0820 Nov 8, 2024
c978a69
Merge branch 'weekly/10' into feat/#115-small-refactor
sanghee0820 Nov 8, 2024
6c544f8
Merge pull request #127 from kakao-tech-campus-2nd-step3/feat/#115-sm…
sanghee0820 Nov 8, 2024
59728c9
[fix] import 수정
sanghee0820 Nov 8, 2024
8acc1e8
[feat] 인플루언서들 이름 반환
wndlthsk Nov 8, 2024
d300e7e
Merge remote-tracking branch 'origin/weekly/10' into feat/#130-influe…
wndlthsk Nov 8, 2024
4b91389
[test] 주석 삭제
wndlthsk Nov 8, 2024
4910280
Merge pull request #131 from kakao-tech-campus-2nd-step3/feat/#130-in…
sanghee0820 Nov 8, 2024
ab3dc12
Merge pull request #132 from kakao-tech-campus-2nd-step3/weekly/10
sanghee0820 Nov 8, 2024
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
80 changes: 63 additions & 17 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
# Docker Hub 이미지 푸시
- name: docker Hub push
run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/inplace


# 위 과정에서 푸시한 이미지를 ec2에서 풀받아서 실행시키는 과정
run-docker-image-on-ec2:
Expand All @@ -68,30 +68,76 @@ jobs:
# 최신 이미지를 pull
- name: docker pull
run: sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/inplace

# 기존의 컨테이너를 중지
- name: docker stop container
run: sudo docker stop $(sudo docker ps -q) 2>/dev/null || true

# 현재 실행 중인 버전을 확인
- name: Check current active container
id: check_version
run: |
CURRENT_VERSION=$(sudo docker ps --format "{{.Names}}" | grep -oE "inplace-(blue|green)" || echo "")
if [[ -z "$CURRENT_VERSION" ]]; then
echo "No active container found"
echo "current_version=none" >> $GITHUB_ENV
else
CURRENT_VERSION=$(echo "$CURRENT_VERSION" | grep -oE "(blue|green)")
echo "Current running version is $CURRENT_VERSION"
echo "current_version=${CURRENT_VERSION}" >> $GITHUB_ENV
fi

# 다음 배포 버전을 결정
- name: Set next version
run: |
if [[ "${{ env.current_version }}" == "blue" ]]; then
NEXT_VERSION="green"
PORT=8081
else
NEXT_VERSION="blue"
PORT=8080
fi
echo "Next version to deploy is inplace-${NEXT_VERSION}"
echo "next_version=${NEXT_VERSION}" >> $GITHUB_ENV
echo "port=${PORT}" >> $GITHUB_ENV

# 기존의 동일한 컨테이너를 중지 (블루/그린 중 다음 배포 타겟에 해당하는 컨테이너)
- name: Stop current docker container
run: |
echo "Stopping container inplace-${{ env.next_version }}"
sudo docker stop inplace-${{ env.next_version }} || true
sudo docker rm inplace-${{ env.next_version }} || true

# .env 파일 생성
- name: Create .env file
run: |
rm -f .env
echo "${{ secrets.ENV }}" >> .env

# 브랜치에 따라 다른 환경 변수를 설정하여 컨테이너 실행
# - name: docker run new container
# run: |
# if [ "${{ github.ref }}" == "refs/heads/Master" ]; then
# sudo docker run --name inplace --rm -d -p 8080:8080 --env-file .env ${{ secrets.DOCKERHUB_USERNAME }}/inplace
# elif [ "${{ github.ref }}" == "refs/heads/develop" ]; then
# sudo docker run --name inplace-dev --rm -d -p 8081:8080 --env-file .env ${{ secrets.DOCKERHUB_USERNAME }}/inplace
# fi

# weekly/* 브랜치 8081 포트로 설정
- name: docker run new container
# 다음 버전으로 새 컨테이너를 실행
- name: Run New Container on Next Version
run: |
sudo docker run --name inplace-dev --rm -d -p 8081:8080 --env-file .env ${{ secrets.DOCKERHUB_USERNAME }}/inplace
echo "Running new container inplace-${{ env.next_version }}"
sudo docker run --name "inplace-${{ env.next_version }}" --rm -d -p ${{ env.port }}:8080 --env-file .env ${{ secrets.DOCKERHUB_USERNAME }}/inplace

# 로드 밸런서 타겟 그룹을 업데이트하여 트래픽을 새 컨테이너로 전환합니다.
- name: Update Load Balancer Target Group
run: |
TARGET_GROUP_ARN_BLUE="${{ secrets.TARGET_GROUP_ARN_8080 }}"
TARGET_GROUP_ARN_GREEN="${{ secrets.TARGET_GROUP_ARN_8081 }}"
if [[ "${{ env.next_version }}" == "blue" ]]; then
aws elbv2 modify-listener --listener-arn ${{ secrets.LISTENER_ARN_443 }} --default-actions Type=forward,TargetGroupArn=$TARGET_GROUP_ARN_BLUE
else
aws elbv2 modify-listener --listener-arn ${{ secrets.LISTENER_ARN_443 }} --default-actions Type=forward,TargetGroupArn=$TARGET_GROUP_ARN_GREEN
fi

# 이전 컨테이너 정리
- name: Remove previous docker container
run: |
if [[ "${{ env.current_version }}" != "none" ]]; then
echo "Removing previous container inplace-${{ env.current_version }}"
sudo docker stop inplace-${{ env.current_version }} || true
sudo docker rm inplace-${{ env.current_version }} || true
else
echo "No active container to remove"
fi

# 미사용 이미지를 정리
- name: delete old docker image
run: sudo docker system prune -f
10 changes: 4 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ dependencies {

//Spring
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
testImplementation 'io.projectreactor:reactor-test'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'

Expand All @@ -53,15 +55,11 @@ dependencies {
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"


// Test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
annotationProcessor "com.querydsl:querydsl-apt:5.0.0:jakarta"
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"

// Thymeleaf
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class QFavoriteInfluencer extends EntityPathBase<FavoriteInfluencer> {

public final team7.inplace.influencer.domain.QInfluencer influencer;

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

public final team7.inplace.user.domain.QUser user;

Expand Down
45 changes: 45 additions & 0 deletions src/main/generated/team7/inplace/global/exception/QErrorLog.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
package team7.inplace.global.exception;

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;


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

private static final long serialVersionUID = 50351046L;

public static final QErrorLog errorLog = new QErrorLog("errorLog");

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

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

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

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

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

public QErrorLog(String variable) {
super(ErrorLog.class, forVariable(variable));
}

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

public QErrorLog(PathMetadata metadata) {
super(ErrorLog.class, metadata);
}

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
package team7.inplace.likedPlace.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;
import com.querydsl.core.types.dsl.PathInits;


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

private static final long serialVersionUID = 1786130640L;

private static final PathInits INITS = PathInits.DIRECT2;

public static final QLikedPlace likedPlace = new QLikedPlace("likedPlace");

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

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

public final team7.inplace.place.domain.QPlace place;

public final team7.inplace.user.domain.QUser user;

public QLikedPlace(String variable) {
this(LikedPlace.class, forVariable(variable), INITS);
}

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

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

public QLikedPlace(PathMetadata metadata, PathInits inits) {
this(LikedPlace.class, metadata, inits);
}

public QLikedPlace(Class<? extends LikedPlace> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.place = inits.isInitialized("place") ? new team7.inplace.place.domain.QPlace(
forProperty("place"), inits.get("place")) : null;
this.user =
inits.isInitialized("user") ? new team7.inplace.user.domain.QUser(forProperty("user"))
: null;
}

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
package team7.inplace.oauthToken.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;
import com.querydsl.core.types.dsl.PathInits;


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

private static final long serialVersionUID = -59028672L;

private static final PathInits INITS = PathInits.DIRECT2;

public static final QOauthToken oauthToken1 = new QOauthToken("oauthToken1");

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

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

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

public final team7.inplace.user.domain.QUser user;

public QOauthToken(String variable) {
this(OauthToken.class, forVariable(variable), INITS);
}

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

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

public QOauthToken(PathMetadata metadata, PathInits inits) {
this(OauthToken.class, metadata, inits);
}

public QOauthToken(Class<? extends OauthToken> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.user = inits.isInitialized("user") ? new team7.inplace.user.domain.QUser(forProperty("user")) : null;
}

}

2 changes: 2 additions & 0 deletions src/main/generated/team7/inplace/place/domain/QPlace.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public class QPlace extends EntityPathBase<Place> {

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

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

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

public final ListPath<Menu, QMenu> menus = this.<Menu, QMenu>createList("menus", Menu.class, QMenu.class, PathInits.DIRECT2);
Expand Down
60 changes: 60 additions & 0 deletions src/main/generated/team7/inplace/review/domain/QReview.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
package team7.inplace.review.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;
import com.querydsl.core.types.dsl.PathInits;


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

private static final long serialVersionUID = 978169644L;

private static final PathInits INITS = PathInits.DIRECT2;

public static final QReview review = new QReview("review");

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

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

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

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

public final team7.inplace.place.domain.QPlace place;

public final team7.inplace.user.domain.QUser user;

public QReview(String variable) {
this(Review.class, forVariable(variable), INITS);
}

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

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

public QReview(PathMetadata metadata, PathInits inits) {
this(Review.class, metadata, inits);
}

public QReview(Class<? extends Review> type, PathMetadata metadata, PathInits inits) {
super(type, metadata, inits);
this.place = inits.isInitialized("place") ? new team7.inplace.place.domain.QPlace(forProperty("place"), inits.get("place")) : null;
this.user = inits.isInitialized("user") ? new team7.inplace.user.domain.QUser(forProperty("user")) : null;
}

}

4 changes: 4 additions & 0 deletions src/main/generated/team7/inplace/video/domain/QVideo.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ public class QVideo extends EntityPathBase<Video> {

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

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

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

public QVideo(String variable) {
this(Video.class, forVariable(variable), INITS);
}
Expand Down
Loading
Loading