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

Main 브랜치 최신화 (24.03.18) #306

Merged
merged 129 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
e3a789f
Merge remote-tracking branch 'upstream/develop' into feature/review-f…
linglong67 Feb 29, 2024
a3d2813
Merge remote-tracking branch 'upstream/develop' into feature/review-f…
linglong67 Feb 29, 2024
3d1e15a
feat: 리뷰 단건 조회 null 관련 처리
linglong67 Feb 29, 2024
51bff17
feat: 업로드 파일관리 테이블 sql 구상
linglong67 Feb 29, 2024
9181a5b
Merge remote-tracking branch 'upstream/develop' into feature/review-f…
linglong67 Mar 4, 2024
b0cf706
feat: file 테이블 및 entity 생성
linglong67 Mar 4, 2024
48dd249
feat: application.yml에 module.name 추가 (api, admin)
linglong67 Mar 4, 2024
5f0f190
feat: FileUtils 내용 일부 변경 및 S3BucketPath 삭제
linglong67 Mar 4, 2024
19f2a50
feat: FileReferType Enum 추가
linglong67 Mar 4, 2024
ff56bc4
feat: FileRepository 추가
linglong67 Mar 5, 2024
9b06c02
feat: 리뷰 등록에 업로드 기능 추가
linglong67 Mar 5, 2024
61d7d33
setting: s3 bucket url 변경
linglong67 Mar 5, 2024
e15f135
Merge remote-tracking branch 'upstream/develop' into feature/review-f…
linglong67 Mar 5, 2024
5fb2644
feat: querydsl 리뷰 조회 쿼리 성능 개선 (count 쿼리 관련)
linglong67 Mar 5, 2024
6e8edec
feat: 리뷰 with 파일 조회 기능
linglong67 Mar 5, 2024
e921923
feat: 리뷰 단건 조회 수정
linglong67 Mar 5, 2024
5db554b
feat: 리뷰 다건/단건 조회 수정 (+ 파일 조회)
linglong67 Mar 5, 2024
65adfae
feat: querydsl 리뷰 단건, 다건 조회 시 쿼리 겹치는 부분 분리 (리팩토링)
linglong67 Mar 5, 2024
4527fe9
feat: ReviewDto 사용 방식 및 관련 코드 찾아 변경
linglong67 Mar 5, 2024
a7d3459
Merge remote-tracking branch 'upstream/develop' into feature/review-f…
linglong67 Mar 5, 2024
51189f9
feat: 리뷰 삭제 기능 (파일 관련 내용 추가)
linglong67 Mar 5, 2024
2903c71
feat: file 테이블 컬럼 제약조건 추가
linglong67 Mar 6, 2024
f65685c
refactor:: yunNote 반영 리팩토링
HyunJunSon Mar 6, 2024
1bae88e
feat: 리뷰 수정 기능 + 파일
linglong67 Mar 6, 2024
0f40e67
feat: ReviewRequestDto 추가 및 관련 코드 반영
linglong67 Mar 6, 2024
f34ea6d
feat: ReviewResponseDto 추가 및 관련 코드 반영
linglong67 Mar 6, 2024
fe5db80
feat: 리뷰 - ProductDto, MemberDto of 추가
linglong67 Mar 6, 2024
4f7cced
feat: 리뷰 단건, 목록 조회 방식 수정
linglong67 Mar 6, 2024
189d596
feat: 리뷰 테이블 컬럼 추가 및 수정
linglong67 Mar 6, 2024
16f50b5
feat: 리뷰 is_visible 컬럼 추가 관련 변경 사항 반영
linglong67 Mar 6, 2024
64d65b8
refactor:: yunNote 반영 리팩토링 리뷰 반영
HyunJunSon Mar 7, 2024
1094194
Merge pull request #276 from HyunJunSon/refator/yunNote
HyunJunSon Mar 7, 2024
cd628a7
fix :: 테이블의 데이터타입(BIGINT) 와 엔티티의 타입(Integer) 가 서로 맞지 않음 -> Long 으로 수정
chan99k Mar 7, 2024
53abf36
fix :: BatchApplication.java 의 EntityScan 범위와 EnableJpaRepository 범위 수정
chan99k Mar 7, 2024
aa755f5
feat: 리뷰 업데이트 방식 변경, dto 내용 수정, 멤버별 리뷰 조회 추가
linglong67 Mar 7, 2024
8a1d437
Merge remote-tracking branch 'upstream/develop' into feature/review-f…
linglong67 Mar 7, 2024
097d20d
* 카카오 요청 헤더 속성값 변경
Mar 7, 2024
495ab4c
feature:: admin 멤버관리 전체멤버 api 추가
HyunJunSon Mar 7, 2024
56111bb
Merge pull request #279 from cgk95/fix/#278
gunsight1 Mar 8, 2024
ab06bda
Merge pull request #282 from gunsight1/fix_kakaoRequest_header
gunsight1 Mar 8, 2024
1b9f2a6
Merge pull request #283 from linglong67/feature/review-file-upload
gunsight1 Mar 8, 2024
743c8c8
feat: 이전 PR에서 수정 필요한 부분 반영
linglong67 Mar 8, 2024
02fe333
* 1차 베이스 작업
Mar 8, 2024
efc1278
* 2차 베이스 작업
Mar 8, 2024
9755e46
feat: washzone_review 테이블 ddl, entity 추가
linglong67 Mar 11, 2024
9facaaa
feat: washzone_review 관련 dto, entity 추가-수정
linglong67 Mar 11, 2024
7c42a02
feat: washzone_review repository 추가
linglong67 Mar 11, 2024
894fae5
feat: washzone_review querydsl 추가
linglong67 Mar 11, 2024
2e8f934
feat: washzone_review repository 패키지 추가
linglong67 Mar 11, 2024
fb97bd8
refactor :: 스케쥴러 관련 코드 삭제
chan99k Mar 11, 2024
c3d70c9
feat: washzone_review repo, tbl 수정
linglong67 Mar 11, 2024
ba4ab99
chore :: default job.name=None 으로 설정 -> 매칭되는 job 이름이 없다면 실행되지 않음
chan99k Mar 11, 2024
735077c
chore :: vultr 개발 db 에 접속할 수 있도록 주소를 ip로 변경
chan99k Mar 11, 2024
deb5b27
feat :: JobLauncherApplicationRunner 를 통해 실행할 수 있도록 추가
chan99k Mar 11, 2024
ca9dcca
fix :: replaceAll -> replace 로 변경
chan99k Mar 11, 2024
433f5c2
feat: washzone_review service, code 추가
linglong67 Mar 11, 2024
05f7132
fix :: @RequiredArgsConstructor 를 사용하도록 수정
chan99k Mar 11, 2024
43f5499
feat: washzone_review controller 추가
linglong67 Mar 11, 2024
ba3ac1b
feat: washzone_review interceptor config 패턴 추가
linglong67 Mar 11, 2024
16b4098
feat :: 공통으로 사용할 JobExecutionListener 추가
chan99k Mar 11, 2024
6c5c2a5
feat :: BaseStepExecutionListener 추가
chan99k Mar 11, 2024
21e928c
fix :: @ConditionalOnProperty 를 통해 해당하는 job.name 을 파라미터로 입력받았을 때만 Bea…
chan99k Mar 11, 2024
5371c27
Merge pull request #286 from linglong67/feature/review-file-upload
linglong67 Mar 12, 2024
c18977d
fix :: createdAt, modifiedAt 의 타입을 LocalDate -> LocalDateTime 으로 변경
chan99k Mar 12, 2024
7b9b127
feat :: DATE 타입을 TIMESTAMP 로 변경합니다. 이를 위해서 Member View 를 삭제한 후 동일한 Vi…
chan99k Mar 12, 2024
c5b6f6a
Merge branch 'develop' into fix/createdAt
chan99k Mar 12, 2024
0352b8a
fix :: createdAt, modifiedAt 타입을 LocalDate -> LocalDateTime 으로 변경
chan99k Mar 12, 2024
609de7e
fix :: createdAt, modifiedAt 타입을 LocalDate -> LocalDateTime 으로 변경
chan99k Mar 12, 2024
ccdeb4c
fix :: 빌드가 실패하지 않도록 임시 수정 -> admin member 작업후 꼭 수정하여야 함
chan99k Mar 12, 2024
2d2fa09
* Repository 작업
Mar 12, 2024
4667076
* 작성자, 수정자 헤더 Id로 처리
Mar 12, 2024
2a78d54
* Entity 작성
Mar 12, 2024
3088c6f
* BBS 응답코드 작성
Mar 12, 2024
35b8a55
* BBS 컨트롤러 작성, 목록 상세 등록 수정 삭제
Mar 12, 2024
a2cdfac
* BBS 범용 DTO 및 목록 조회 전용 DTO 작성
Mar 12, 2024
68f011b
* BBS 게시판 타입정의 ENUM 클래스 작성
Mar 12, 2024
5f04159
* BBS 게시판 서비스 작성
Mar 12, 2024
6765f91
* 기존 findByMemberId를 다른 도메인에서 IoC 원칙 및 용도에 맞게 쓰기 위해 findOneByIdForAcc…
Mar 12, 2024
dc6a155
* LocalDate -> LocalDateTime 변경
Mar 12, 2024
c07fe32
feature:: upstream merge
HyunJunSon Mar 13, 2024
79c75fb
Merge remote-tracking branch 'upstream/develop' into feature/washzone…
linglong67 Mar 13, 2024
8550fc5
feature:: admin 멤버관리 전체멤버 api 추가
HyunJunSon Mar 7, 2024
bd177cf
* 액추에이터 로그 hide 처리
Mar 13, 2024
98305f2
Merge pull request #292 from gunsight1/hotfix_modify_actuator_log_config
gunsight1 Mar 13, 2024
afcef47
chore :: chunkSize 변수 인라인화
chan99k Mar 13, 2024
d77d599
chore :: BaseStepExecutionListener 사용하도록 변경
chan99k Mar 13, 2024
50eaef9
Merge pull request #288 from cgk95/fix/#287
chan99k Mar 13, 2024
ce860d0
Merge pull request #289 from cgk95/fix/#233
chan99k Mar 13, 2024
833fc6c
Merge remote-tracking branch 'upstream/develop' into feature/washzone…
linglong67 Mar 13, 2024
c9a98be
* 로그 출력시 Trie를 이용한 denined 목록 추가
Mar 13, 2024
2abe9fb
* 파일명 변경 및 DATE -> TIMESTAMP 변경
Mar 13, 2024
5a8ad9c
fix: review 등록 시, error 세분화
linglong67 Mar 13, 2024
6781a49
Merge pull request #290 from gunsight1/feature_bbs
gunsight1 Mar 13, 2024
fcac207
Merge pull request #293 from gunsight1/fix_actuator_logFilter
gunsight1 Mar 13, 2024
2abe8aa
Merge remote-tracking branch 'upstream/develop' into feature/badwordf…
HyunJunSon Mar 13, 2024
e963d27
Merge remote-tracking branch 'upstream/develop' into feature/washzone…
linglong67 Mar 13, 2024
4f2c48b
fix: LocalDate -> LocalDateTime으로 변경
linglong67 Mar 13, 2024
ed63b76
feature:: 욕설필터링 기능추가
HyunJunSon Mar 7, 2024
7dc8fb8
* response 로그만 나오지 않도록 수정
Mar 13, 2024
e8accd7
Merge pull request #295 from gunsight1/fix_actuator_logFilter
gunsight1 Mar 13, 2024
2c73cf3
fix: Review - 회원정보 검증 추가 (cud)
linglong67 Mar 13, 2024
460ead7
feat: WashzoneReview - 회원정보 검증 추가 (cud)
linglong67 Mar 13, 2024
f533855
hotfix: cicd yml modify
linglong67 Mar 14, 2024
aab1802
Merge pull request #296 from linglong67/hotfix/cicd-yml-modify
linglong67 Mar 14, 2024
2e8b5ab
hotfix: cicd yml modify
linglong67 Mar 14, 2024
312e271
Merge pull request #297 from linglong67/hotfix/cicd-yml-modify
linglong67 Mar 14, 2024
85ddd4b
feature:: 리뷰반영 commit
HyunJunSon Mar 14, 2024
dda5a87
feature:: 리뷰반영#2 commit
HyunJunSon Mar 14, 2024
6989428
feature:: 리뷰반영3 commit
HyunJunSon Mar 14, 2024
5f18490
Merge pull request #291 from HyunJunSon/feature/admin/member
HyunJunSon Mar 14, 2024
b712aad
feat: 세차장 리뷰 조회 querydsl 수정
linglong67 Mar 14, 2024
9a2e5cb
hotfix:: ci/cd error 수정
HyunJunSon Mar 14, 2024
d3c12e9
Merge pull request #298 from HyunJunSon/feature/admin/member
gunsight1 Mar 14, 2024
c0fcc02
fix:: pr 기록 수정
HyunJunSon Mar 14, 2024
e24f3ec
Merge remote-tracking branch 'upstream/develop' into feature/washzone…
linglong67 Mar 14, 2024
8253374
fix:: pr 기록 수정2
HyunJunSon Mar 14, 2024
8cabb90
Merge pull request #294 from HyunJunSon/feature/badwordfiltering
HyunJunSon Mar 14, 2024
54f8ad2
Merge remote-tracking branch 'upstream/develop' into feature/washzone…
linglong67 Mar 14, 2024
00ab661
fix: 이전 PR에서 빌드 오류난 내용 수정
linglong67 Mar 14, 2024
a0d950e
setting: commons-lang3 라이브러리 추가
linglong67 Mar 14, 2024
9971a16
feat: 비속어 메시지 관련 파일 추가
linglong67 Mar 15, 2024
cb33e8e
feat: dto -> 비속어 메시지 적용
linglong67 Mar 15, 2024
1109a31
feat: 세차장 리뷰에 비속어 필터 적용
linglong67 Mar 15, 2024
e8d6257
feat: 비속어 -> 글로벌 에러 관련 수정
linglong67 Mar 15, 2024
95a0d83
Merge pull request #301 from linglong67/feature/washzone-review-api
linglong67 Mar 15, 2024
ec6b528
Merge remote-tracking branch 'upstream/develop' into feature/fix-badw…
linglong67 Mar 15, 2024
6e55dad
Merge pull request #304 from linglong67/feature/fix-badword-exceoption
linglong67 Mar 15, 2024
8f3c396
feat: log aop 내용 추가
linglong67 Mar 15, 2024
770223c
Merge pull request #305 from linglong67/feature/modify-log-aspect
linglong67 Mar 15, 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
6 changes: 3 additions & 3 deletions .github/workflows/cicd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:

- name: Replace SQL Queries
run: |
file_path="${{ secrets.TARGET_SQL_PATH }}"
dir_path="./module-api/src/main/resources/db/migration"
old_text="changeRequired"
new_text="${{ secrets.PUBLIC_KEY }}"
sed -i "s/$old_text/$new_text/g" $file_path
find "$dir_path" -type f -name "*.sql" -exec sed -i "s|$old_text|$new_text|g" {} +

- name: Set application yml file (api)
uses: microsoft/variable-substitution@v1
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
with:
files: ./module-batch/src/main/resources/application-dev.yml
env:
spring.datasource.url: ${{ secrets.DB_URL }}
spring.datasource.url: ${{ secrets.VULTR_DB_URL }}
spring.datasource.username: ${{ secrets.DB_USER }}
spring.datasource.password: ${{ secrets.DB_PW }}
external.ecolife-api.path: ${{ secrets.ECOLIFE_PATH }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cicd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:

- name: Replace SQL Queries
run: |
file_path="${{ secrets.TARGET_SQL_PATH }}"
dir_path="./module-api/src/main/resources/db/migration"
old_text="changeRequired"
new_text="${{ secrets.PUBLIC_KEY }}"
sed -i "s/$old_text/$new_text/g" $file_path
find "$dir_path" -type f -name "*.sql" -exec sed -i "s|$old_text|$new_text|g" {} +

- name: Set application yml file (api)
uses: microsoft/variable-substitution@v1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package com.kernel360.member.code;

import com.kernel360.code.BusinessCode;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus;

@RequiredArgsConstructor
public enum MemberBusinessCode implements BusinessCode {

SUCCESS_REQUEST_ALL_MEMBER_LIST(HttpStatus.OK.value(), "BMC001", "전체회원목록 조회 성공");

private final int status;
private final String code;
private final String message;

@Override
public int getStatus() {
return status;
}

@Override
public String getCode() {
return code;
}

@Override
public String getMessage() {
return message;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package com.kernel360.member.controller;

import com.kernel360.member.code.MemberBusinessCode;
import com.kernel360.member.dto.MemberResponse;
import com.kernel360.member.service.MemberService;
import com.kernel360.response.ApiResponse;
import lombok.RequiredArgsConstructor;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

@RestController
@RequiredArgsConstructor
@RequestMapping("/admin")
public class MemberController {

private final MemberService memberService;

@GetMapping("members")
public ResponseEntity<ApiResponse<Page<MemberResponse>>> getMemberList(Pageable pageable) {
Page<MemberResponse> members = memberService.getAllMembers(pageable);

return ApiResponse.toResponseEntity(MemberBusinessCode.SUCCESS_REQUEST_ALL_MEMBER_LIST, members);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
package com.kernel360.member.dto;


import java.time.LocalDateTime;


public record MemberDto(Long memberNo,
String id,
String email,
String password,
String gender,
String age,
LocalDateTime createdAt,
String createdBy,
LocalDateTime modifiedAt,
String modifiedBy
) {

public static MemberDto of(
Long memberNo,
String id,
String email,
String password,
String gender,
String age,
LocalDateTime createdAt,
String createdBy,
LocalDateTime modifiedAt,
String modifiedBy
) {
return new MemberDto(
memberNo,
id,
email,
password,
gender,
age,
createdAt,
createdBy,
modifiedAt,
modifiedBy
);
}


}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package com.kernel360.member.dto;


import com.kernel360.carinfo.entity.CarInfo;
import com.kernel360.washinfo.entity.WashInfo;
import com.querydsl.core.annotations.QueryProjection;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Getter
@NoArgsConstructor
public class MemberResponse {
private Long memberNo;
private String id;
private String email;
private int gender;
private int age;
private LocalDateTime registerDate;
private String accountType;
private WashInfo washInfo;
private CarInfo carInfo;
@QueryProjection
public MemberResponse(Long memberNo, String id, String email, int gender, int age, LocalDateTime registerDate,
String accountType, WashInfo washInfo, CarInfo carInfo) {
this.memberNo = memberNo;
this.id = id;
this.email = email;
this.gender = gender;
this.age = age;
this.registerDate = registerDate;
this.accountType = accountType;
this.washInfo = washInfo;
this.carInfo = carInfo;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package com.kernel360.member.dto;

import com.kernel360.carinfo.entity.CarInfo;
import com.kernel360.washinfo.entity.WashInfo;
import lombok.Builder;

import java.time.LocalDateTime;

@Builder
public record MemberSearchDto(
String id,
String name,
String email,
String age,
LocalDateTime registerDate,
WashInfo washInfo,
CarInfo carInfo
) {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package com.kernel360.member.enumset;

import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
public enum Age {
AGE_20(20),
AGE_30(30),
AGE_40(40),
AGE_50(50),
AGE_60(60),
AGE_99(99);

private final int value;

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.kernel360.member.enumset;

import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
public enum Gender {
MALE(0),
FEMALE(1),
OTHERS(99);

private final int value;

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package com.kernel360.member.enumset;

public enum Sort {
ID_ORDER("id-order"),
GENDER_ORDER("gender-order"),
AGE_ORDER("age-order"),
REGISTER_ORDER("register-order"),
RECENT_PRODUCT_ORDER("recent-order");


private final String orderType;

Sort(String orderType) {
this.orderType = orderType;
}

public String getOrderType() {
return orderType;
}
}



Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.kernel360.member.repository;


public interface MemberRepository extends MemberRepositoryJpa, MemberRepositoryDsl {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package com.kernel360.member.repository;

import com.kernel360.member.dto.MemberResponse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface MemberRepositoryDsl {
Page<MemberResponse> findAllMember(Pageable pageable);

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
package com.kernel360.member.repository;


import com.kernel360.member.dto.MemberResponse;
import com.kernel360.member.dto.QMemberResponse;

import com.querydsl.core.types.dsl.BooleanExpression;
import com.querydsl.jpa.impl.JPAQueryFactory;
import lombok.RequiredArgsConstructor;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.support.PageableExecutionUtils;

import java.util.List;

import static com.kernel360.carinfo.entity.QCarInfo.*;
import static com.kernel360.member.entity.QMember.*;
import static com.kernel360.washinfo.entity.QWashInfo.*;


@RequiredArgsConstructor
public class MemberRepositoryImpl implements MemberRepositoryDsl {

private final JPAQueryFactory query;

@Override
public Page<MemberResponse> findAllMember(Pageable pageable) {
List<MemberResponse> members = query.select(new QMemberResponse(
member.memberNo,
member.id,
member.email,
member.gender,
member.age,
member.createdAt,
member.accountType,
washInfo,
carInfo
))
.from(member)
.leftJoin(member.washInfo, washInfo).on(isWashInfoNotNull())
.leftJoin(member.carInfo, carInfo).on(isCarInfoNotNull())
.offset(pageable.getOffset())
.limit(pageable.getPageSize())
.orderBy(member.memberNo.desc())
.fetch();

return PageableExecutionUtils.getPage(members, pageable, members::size);
}

private static BooleanExpression isCarInfoNotNull() {
return member.carInfo.carNo.isNotNull();
}

private static BooleanExpression isWashInfoNotNull() {
return member.washInfo.washNo.isNotNull();
}


}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package com.kernel360.member.service;

import com.kernel360.member.dto.MemberResponse;
import com.kernel360.member.repository.MemberRepository;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;


@Slf4j
@Service
@RequiredArgsConstructor
public class MemberService {

private final MemberRepository memberRepository;

public Page<MemberResponse> getAllMembers(Pageable pageable) {

return memberRepository.findAllMember(pageable);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.kernel360.product.entity.Product;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
* DTO for {@link com.kernel360.product.entity.Product}
Expand Down Expand Up @@ -36,9 +37,9 @@ public record ProductDetailDto(
String manufactureMethod,
String manufactureNation,
String violationInfo,
LocalDate createdAt,
LocalDateTime createdAt,
String createdBy,
LocalDate modifiedAt,
LocalDateTime modifiedAt,
String modifiedBy
//TODO 브랜드 엔티티
) {
Expand Down Expand Up @@ -72,9 +73,9 @@ public static ProductDetailDto of(
String manufactureMethod,
String manufactureNation,
String violationInfo,
LocalDate createdAt,
LocalDateTime createdAt,
String createdBy,
LocalDate modifiedAt,
LocalDateTime modifiedAt,
String modifiedBy
) {
return new ProductDetailDto(
Expand Down
Loading
Loading