Closed ryuwon2407 closed 2 days ago
[!CAUTION]
Review failed
The pull request is closed.
This pull request introduces multiple new Java classes and repositories related to payment and user management, alongside a new configuration file. Key additions include the Pay
, PayChargelist
, Paylist
, Card
, Cardlist
, MyPiece
, Piece
, Reviews
, Store
, and Wishlist
entities, each with defined fields and relationships. New repository interfaces for these entities are also created to facilitate CRUD operations. Additionally, the configuration file application.yml
is added to replace the deleted application.properties
, setting up database and Redis properties for a production environment.
File Path | Change Summary |
---|---|
src/main/java/com/groom/swipo/domain/payment/entity/Pay.java |
Class Pay added with fields id , totalMoney , user , paylists , and constructors. |
src/main/java/com/groom/swipo/domain/payment/entity/PayChargelist.java |
Class PayChargelist added with fields id , name , price , impUid , merchantUid , user , and constructor. |
src/main/java/com/groom/swipo/domain/payment/entity/Paylist.java |
Class Paylist added with fields id , value , pay , store , and constructor. |
src/main/java/com/groom/swipo/domain/payment/repository/PayChargelistRepository.java |
Interface PayChargelistRepository added, extending JpaRepository . |
src/main/java/com/groom/swipo/domain/payment/repository/PayRepository.java |
Interface PayRepository added, extending JpaRepository . |
src/main/java/com/groom/swipo/domain/payment/repository/PaylistRepository.java |
Interface PaylistRepository added, extending JpaRepository . |
src/main/java/com/groom/swipo/domain/point/entity/Card.java |
Class Card added with fields id , number , contents , totalPoint , customeImage , user , cardlists , and constructor. |
src/main/java/com/groom/swipo/domain/point/entity/Cardlist.java |
Class Cardlist added with fields id , value , card , store , and constructor. |
src/main/java/com/groom/swipo/domain/point/entity/MyPiece.java |
Class MyPiece added with fields id , isDeleted , user , piece , store , and constructor. |
src/main/java/com/groom/swipo/domain/point/entity/Piece.java |
Class Piece added with fields id , name , myPieces , and constructor. |
src/main/java/com/groom/swipo/domain/point/repository/CardRepository.java |
Interface CardRepository added, extending JpaRepository . |
src/main/java/com/groom/swipo/domain/point/repository/CardlistRepository.java |
Interface CardlistRepository added, extending JpaRepository . |
src/main/java/com/groom/swipo/domain/point/repository/MyPieceRepository.java |
Interface MyPieceRepository added, extending JpaRepository . |
src/main/java/com/groom/swipo/domain/point/repository/PieceRepository.java |
Interface PieceRepository added, extending JpaRepository . |
src/main/java/com/groom/swipo/domain/store/entity/Reviews.java |
Class Reviews added with fields id , star , user , store , and constructor. |
src/main/java/com/groom/swipo/domain/store/entity/Store.java |
Class Store added with multiple fields and relationships, and a constructor. |
src/main/java/com/groom/swipo/domain/store/entity/StoreImage.java |
Class StoreImage added with fields id , url , store , and constructor. |
src/main/java/com/groom/swipo/domain/store/entity/Wishlist.java |
Class Wishlist added with fields id , user , store , and constructor. |
src/main/java/com/groom/swipo/domain/store/entity/enums/StoreType.java |
Enum StoreType added with constants NORMAL , PREMIUM . |
src/main/java/com/groom/swipo/domain/store/repository/ReviewsRepository.java |
Interface ReviewsRepository added, extending JpaRepository . |
src/main/java/com/groom/swipo/domain/store/repository/StoreImageRepository.java |
Interface StoreImageRepository added, extending JpaRepository . |
src/main/java/com/groom/swipo/domain/store/repository/StoreRepository.java |
Interface StoreRepository added, extending JpaRepository . |
src/main/java/com/groom/swipo/domain/store/repository/WishilistRepository.java |
Interface WishilistRepository added, extending JpaRepository . |
src/main/java/com/groom/swipo/domain/user/entity/User.java |
Class User added with multiple fields and relationships, and a constructor. |
src/main/java/com/groom/swipo/domain/user/entity/VerificationCode.java |
Class VerificationCode added with fields id , code , expirationTimeInMinutes , methods for expiration checking. |
src/main/java/com/groom/swipo/domain/user/entity/enums/Provider.java |
Enum Provider added with constants KAKAO , APPLE . |
src/main/java/com/groom/swipo/domain/user/entity/enums/Telecom.java |
Enum Telecom added with constants SKT , KT , LGU , OTHER . |
src/main/java/com/groom/swipo/domain/user/repository/UserRepository.java |
Interface UserRepository added, extending JpaRepository . |
src/main/java/com/groom/swipo/domain/user/repository/VerificationCodeRepository.java |
Interface VerificationCodeRepository added, extending JpaRepository . |
src/main/java/com/groom/swipo/global/common/enums/Area.java |
Enum Area added with constants for various geographical areas. |
src/main/java/com/groom/swipo/global/entity/BaseEntity.java |
Method getCreatedAt() added to BaseEntity class. |
src/main/resources/application.properties |
File deleted. |
src/main/resources/application.yml |
New configuration file added with production settings for datasource and Redis properties. |
🐰 In the land of code where bunnies play,
New classes hop in, brightening the day!
Repositories sprout like flowers in spring,
With entities dancing, oh what joy they bring!
A YAML file sings, as properties align,
Hooray for the changes, all perfectly fine! 🌼
[!WARNING]
Rate limit exceeded
@kduoh99 has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 23 minutes and 19 seconds before requesting another review.
⌛ How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.🚦 How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://docs.coderabbit.ai/faq) for further information.📥 Commits
Reviewing files that changed from the base of the PR and between 09b78f36210a8450279edff79d161878020aca72 and fed06bc4897f1f900ae2c741cfd0d16f1cf093b6.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
📌 이슈 번호
현재 CascadeType은 .PERSIST로 더미 데이터 삭제를 우려하여 우선은 해당 타입으로 구현해 두었으며 실제 서버 구동하게 된다면 각 엔티티 상황에 맞게 변경해두도록 하겠습니다!!
빠트린 부분이 있는지 잘 검토해주시면 감사하겠습니다아
📸 스크린샷
📢 노트
Summary by CodeRabbit
Release Notes
New Features
Pay
,PayChargelist
,Paylist
,Card
,MyPiece
,Piece
,Store
,Reviews
, andWishlist
.Configuration Changes
application.properties
withapplication.yml
for improved configuration management in production environments.