From 2f1de105bf73ecd0ae17972f521f3ca81fb9d28e Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:22:58 +0900 Subject: [PATCH 01/20] =?UTF-8?q?[feat]=20#5=20Gift=20entity=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sopt/sweet/domain/gift/entity/Gift.java | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/gift/entity/Gift.java diff --git a/src/main/java/org/sopt/sweet/domain/gift/entity/Gift.java b/src/main/java/org/sopt/sweet/domain/gift/entity/Gift.java new file mode 100644 index 0000000..fd4ba5b --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/gift/entity/Gift.java @@ -0,0 +1,42 @@ +package org.sopt.sweet.domain.gift.entity; + +import jakarta.persistence.*; +import lombok.*; +import org.sopt.sweet.domain.gifter.entity.Gifter; +import org.sopt.sweet.domain.member.entity.Member; + +@Getter +@NoArgsConstructor(access = AccessLevel.PROTECTED) +@AllArgsConstructor(access = AccessLevel.PRIVATE) +@Builder(access = AccessLevel.PRIVATE) +@Table(name = "gift") +@Entity +public class Gift { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Column(name = "gift_id") + private Long id; + + @Column(nullable = false) + private String url; + + @Column(nullable = false) + private String name; + + @Column(nullable = false) + private int cost; + + private String img; + + @Builder.Default + private int score = 0; + + @ManyToOne(fetch = FetchType.LAZY) + @JoinColumn(name = "gifter_id") + private Gifter gifter; + + @ManyToOne(fetch = FetchType.LAZY) + @JoinColumn(name = "member_id", nullable = false) + private Member member; +} From b15694a9c3770c17851ea8d89acf54298efb129c Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:23:05 +0900 Subject: [PATCH 02/20] =?UTF-8?q?[feat]=20#5=20Gifter=20entity=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sweet/domain/gifter/entity/Gifter.java | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/gifter/entity/Gifter.java diff --git a/src/main/java/org/sopt/sweet/domain/gifter/entity/Gifter.java b/src/main/java/org/sopt/sweet/domain/gifter/entity/Gifter.java new file mode 100644 index 0000000..4266442 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/gifter/entity/Gifter.java @@ -0,0 +1,46 @@ +package org.sopt.sweet.domain.gifter.entity; + +import com.fasterxml.jackson.annotation.JsonIgnore; +import jakarta.persistence.*; +import lombok.*; +import org.sopt.sweet.domain.gifter.constant.TournamentDuration; +import org.sopt.sweet.domain.member.entity.Member; + +import java.time.LocalDateTime; + +@Getter +@NoArgsConstructor(access = AccessLevel.PROTECTED) +@AllArgsConstructor(access = AccessLevel.PRIVATE) +@Builder(access = AccessLevel.PRIVATE) +@Table(name = "gifter") +@Entity +public class Gifter { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Column(name = "gifter_id") + private Long id; + + @Column(nullable = false) + private String gifteeName; + + private String img; + + @Builder.Default + private int gifterNum = 0; + + @Column(nullable = false) + private LocalDateTime deliveryDate; + + @Column(nullable = false) + private LocalDateTime tournamentStartDate; + + @Column(nullable = false) + private TournamentDuration tournamentDuration; + + private String invitationCode; + + @ManyToOne(fetch = FetchType.LAZY) + @JoinColumn(name = "host_id", nullable = false) + private Member host; +} From 4fa4d0724e27996c4de784b436b94a1f50121f6c Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:23:15 +0900 Subject: [PATCH 03/20] =?UTF-8?q?[feat]=20#5=20Member=20entity=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sweet/domain/member/entity/Member.java | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/member/entity/Member.java diff --git a/src/main/java/org/sopt/sweet/domain/member/entity/Member.java b/src/main/java/org/sopt/sweet/domain/member/entity/Member.java new file mode 100644 index 0000000..39316e7 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/member/entity/Member.java @@ -0,0 +1,33 @@ +package org.sopt.sweet.domain.member.entity; + +import jakarta.persistence.*; +import lombok.*; +import org.sopt.sweet.domain.member.constant.SocialType; +import org.sopt.sweet.global.common.BaseTimeEntity; + + +@Getter +@NoArgsConstructor(access = AccessLevel.PROTECTED) +@AllArgsConstructor(access = AccessLevel.PRIVATE) +@Builder(access = AccessLevel.PRIVATE) +@Table(name = "member") +@Entity +public class Member extends BaseTimeEntity { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Column(name = "member_id") + private Long id; + + @Column(nullable = false) + private String socialId; + + @Enumerated(EnumType.STRING) + @Column(nullable = false) + private SocialType socialType; + + private String profileImg; + + private String nickName; + +} From 2826169ac689b243035e6de2b6bc1453ad316f91 Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:23:23 +0900 Subject: [PATCH 04/20] =?UTF-8?q?[feat]=20#5=20Product=20entity=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sweet/domain/product/entity/Product.java | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/product/entity/Product.java diff --git a/src/main/java/org/sopt/sweet/domain/product/entity/Product.java b/src/main/java/org/sopt/sweet/domain/product/entity/Product.java new file mode 100644 index 0000000..40ab495 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/product/entity/Product.java @@ -0,0 +1,30 @@ +package org.sopt.sweet.domain.product.entity; + +import jakarta.persistence.*; +import lombok.*; +import org.sopt.sweet.global.common.BaseTimeEntity; + +@Getter +@NoArgsConstructor(access = AccessLevel.PROTECTED) +@AllArgsConstructor(access = AccessLevel.PRIVATE) +@Builder(access = AccessLevel.PRIVATE) +@Table(name = "product") +@Entity +public class Product extends BaseTimeEntity { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Column(name = "product_id") + private Long id; + + @Column(nullable = false) + private String url; + + @Column(nullable = false) + private String name; + + @Column(nullable = false) + private int cost; + + private String img; + +} From 17c2f0e7d7721fa096214a19e50068abed2757d5 Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:23:46 +0900 Subject: [PATCH 05/20] =?UTF-8?q?[feat]=20#5=20GiftMember=20entity=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/gifter/entity/GifterMember.java | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/gifter/entity/GifterMember.java diff --git a/src/main/java/org/sopt/sweet/domain/gifter/entity/GifterMember.java b/src/main/java/org/sopt/sweet/domain/gifter/entity/GifterMember.java new file mode 100644 index 0000000..07b8160 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/gifter/entity/GifterMember.java @@ -0,0 +1,31 @@ +package org.sopt.sweet.domain.gifter.entity; + +import com.fasterxml.jackson.annotation.JsonIgnore; +import jakarta.persistence.*; +import lombok.*; +import org.sopt.sweet.domain.member.entity.Member; + +@Getter +@NoArgsConstructor(access = AccessLevel.PROTECTED) +@AllArgsConstructor(access = AccessLevel.PRIVATE) +@Builder(access = AccessLevel.PRIVATE) +@Entity +public class GifterMember { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Column(name = "gifter_member_id") + private Long id; + + @ManyToOne(fetch = FetchType.LAZY) + @JoinColumn(name = "gifter_id") + private Gifter gifter; + + @ManyToOne(fetch = FetchType.LAZY) + @JoinColumn(name = "member_id", nullable = false) + private Member member; + + @Column(columnDefinition = "TINYINT(1) default 0") + private boolean tournamentParticipation; + +} From fe741fce711fb938f16ad55b46613988d44c017c Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:24:33 +0900 Subject: [PATCH 06/20] =?UTF-8?q?[feat]=20#5=20Gift=20controller=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sweet/domain/gift/controller/GiftController.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/gift/controller/GiftController.java diff --git a/src/main/java/org/sopt/sweet/domain/gift/controller/GiftController.java b/src/main/java/org/sopt/sweet/domain/gift/controller/GiftController.java new file mode 100644 index 0000000..f415a64 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/gift/controller/GiftController.java @@ -0,0 +1,9 @@ +package org.sopt.sweet.domain.gift.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@RequestMapping("/api/gift") +@RestController +public class GiftController { +} From 7a6a9981755844f536a5aacade657c7a429162f7 Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:24:39 +0900 Subject: [PATCH 07/20] =?UTF-8?q?[feat]=20#5=20Gifter=20controller=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sweet/domain/gifter/controller/GifterController.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/gifter/controller/GifterController.java diff --git a/src/main/java/org/sopt/sweet/domain/gifter/controller/GifterController.java b/src/main/java/org/sopt/sweet/domain/gifter/controller/GifterController.java new file mode 100644 index 0000000..d412037 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/gifter/controller/GifterController.java @@ -0,0 +1,9 @@ +package org.sopt.sweet.domain.gifter.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@RequestMapping("/api/gifter") +@RestController +public class GifterController { +} From 6859e02500fac50d2598b649fb40346c380d3bc4 Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:24:57 +0900 Subject: [PATCH 08/20] =?UTF-8?q?[feat]=20#5=20Member=20controller=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/member/controller/MemberController.java | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/member/controller/MemberController.java diff --git a/src/main/java/org/sopt/sweet/domain/member/controller/MemberController.java b/src/main/java/org/sopt/sweet/domain/member/controller/MemberController.java new file mode 100644 index 0000000..c173ae5 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/member/controller/MemberController.java @@ -0,0 +1,10 @@ +package org.sopt.sweet.domain.member.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@RequestMapping("/api/member") +@RestController +public class MemberController { + +} From 3384d6329b1aed315986c055890bcd678053dbfe Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:25:09 +0900 Subject: [PATCH 09/20] =?UTF-8?q?[feat]=20#5=20Product=20controller=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/product/controller/ProductController.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/product/controller/ProductController.java diff --git a/src/main/java/org/sopt/sweet/domain/product/controller/ProductController.java b/src/main/java/org/sopt/sweet/domain/product/controller/ProductController.java new file mode 100644 index 0000000..9d3c74f --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/product/controller/ProductController.java @@ -0,0 +1,9 @@ +package org.sopt.sweet.domain.product.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@RequestMapping("/api/product") +@RestController +public class ProductController { +} From 42f402042918ece5acb641fb0f069f8985566969 Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:25:22 +0900 Subject: [PATCH 10/20] =?UTF-8?q?[feat]=20#5=20Product=20service=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sweet/domain/product/service/ProductService.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/product/service/ProductService.java diff --git a/src/main/java/org/sopt/sweet/domain/product/service/ProductService.java b/src/main/java/org/sopt/sweet/domain/product/service/ProductService.java new file mode 100644 index 0000000..16202a4 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/product/service/ProductService.java @@ -0,0 +1,9 @@ +package org.sopt.sweet.domain.product.service; + +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +@Service +@Transactional +public class ProductService { +} From c645dde548a066e7e8ec9b6b55678d5446448e91 Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:25:41 +0900 Subject: [PATCH 11/20] =?UTF-8?q?[feat]=20#5=20Member=20service=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sopt/sweet/domain/member/service/MemberService.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/member/service/MemberService.java diff --git a/src/main/java/org/sopt/sweet/domain/member/service/MemberService.java b/src/main/java/org/sopt/sweet/domain/member/service/MemberService.java new file mode 100644 index 0000000..e6c99e0 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/member/service/MemberService.java @@ -0,0 +1,9 @@ +package org.sopt.sweet.domain.member.service; + +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +@Service +@Transactional +public class MemberService { +} From 31da596fc4ea62e53ed1226ff00a3981dc9dcaa6 Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:26:34 +0900 Subject: [PATCH 12/20] =?UTF-8?q?[feat]=20#5=20Gift=20service=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/sopt/sweet/domain/gift/service/GiftService.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/gift/service/GiftService.java diff --git a/src/main/java/org/sopt/sweet/domain/gift/service/GiftService.java b/src/main/java/org/sopt/sweet/domain/gift/service/GiftService.java new file mode 100644 index 0000000..7267050 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/gift/service/GiftService.java @@ -0,0 +1,9 @@ +package org.sopt.sweet.domain.gift.service; + +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +@Service +@Transactional +public class GiftService { +} From c9734fb8baed6df954539009d646ece53f5085a7 Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:26:40 +0900 Subject: [PATCH 13/20] =?UTF-8?q?[feat]=20#5=20Gifter=20service=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sopt/sweet/domain/gifter/service/GifterService.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/gifter/service/GifterService.java diff --git a/src/main/java/org/sopt/sweet/domain/gifter/service/GifterService.java b/src/main/java/org/sopt/sweet/domain/gifter/service/GifterService.java new file mode 100644 index 0000000..0bf5fa9 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/gifter/service/GifterService.java @@ -0,0 +1,9 @@ +package org.sopt.sweet.domain.gifter.service; + +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +@Service +@Transactional +public class GifterService { +} From 6789f0468c5c3e6014a59132c0f9cef806cb798e Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:27:03 +0900 Subject: [PATCH 14/20] =?UTF-8?q?[feat]=20#5=20SocialType=20enum=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/sopt/sweet/domain/member/constant/SocialType.java | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/member/constant/SocialType.java diff --git a/src/main/java/org/sopt/sweet/domain/member/constant/SocialType.java b/src/main/java/org/sopt/sweet/domain/member/constant/SocialType.java new file mode 100644 index 0000000..f1f99e9 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/member/constant/SocialType.java @@ -0,0 +1,5 @@ +package org.sopt.sweet.domain.member.constant; + +public enum SocialType { + KAKAO, GOOGLE, NAVER +} From 25f4fe75e0bc3743a37a1214a11b7717ad637395 Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:27:13 +0900 Subject: [PATCH 15/20] =?UTF-8?q?[feat]=20#5=20TournamentDuration=20enum?= =?UTF-8?q?=20=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gifter/constant/TournamentDuration.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/gifter/constant/TournamentDuration.java diff --git a/src/main/java/org/sopt/sweet/domain/gifter/constant/TournamentDuration.java b/src/main/java/org/sopt/sweet/domain/gifter/constant/TournamentDuration.java new file mode 100644 index 0000000..5611650 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/gifter/constant/TournamentDuration.java @@ -0,0 +1,18 @@ +package org.sopt.sweet.domain.gifter.constant; + +public enum TournamentDuration { + SIX_HOURS(6), + TWELVE_HOURS(12), + EIGHTEEN_HOURS(18), + TWENTY_FOUR_HOURS(24); + + private final int hours; + + TournamentDuration(int hours) { + this.hours = hours; + } + + public int getHours() { + return hours; + } +} From 8c8ec95b89c57e312f5171a1b4ed3f2e0ce88488 Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:27:26 +0900 Subject: [PATCH 16/20] =?UTF-8?q?[feat]=20#5=20Member=20repository=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sweet/domain/member/repository/MemberRepository.java | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/member/repository/MemberRepository.java diff --git a/src/main/java/org/sopt/sweet/domain/member/repository/MemberRepository.java b/src/main/java/org/sopt/sweet/domain/member/repository/MemberRepository.java new file mode 100644 index 0000000..4472d89 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/member/repository/MemberRepository.java @@ -0,0 +1,7 @@ +package org.sopt.sweet.domain.member.repository; + +import org.sopt.sweet.domain.member.entity.Member; +import org.springframework.data.jpa.repository.JpaRepository; + +public interface MemberRepository extends JpaRepository { +} From a8dd1d2219f6ef8e98a5feeaa245c5741875ff6c Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:27:32 +0900 Subject: [PATCH 17/20] =?UTF-8?q?[feat]=20#5=20Gift=20repository=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sopt/sweet/domain/gift/repository/GiftRepository.java | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/gift/repository/GiftRepository.java diff --git a/src/main/java/org/sopt/sweet/domain/gift/repository/GiftRepository.java b/src/main/java/org/sopt/sweet/domain/gift/repository/GiftRepository.java new file mode 100644 index 0000000..001b80f --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/gift/repository/GiftRepository.java @@ -0,0 +1,7 @@ +package org.sopt.sweet.domain.gift.repository; + +import org.sopt.sweet.domain.gift.entity.Gift; +import org.springframework.data.jpa.repository.JpaRepository; + +public interface GiftRepository extends JpaRepository { +} From b7354e9ef182f468f96c5eaf610e1a63ec47742d Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:27:38 +0900 Subject: [PATCH 18/20] =?UTF-8?q?[feat]=20#5=20Gifter=20repository=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sweet/domain/gifter/repository/GifterRepository.java | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/gifter/repository/GifterRepository.java diff --git a/src/main/java/org/sopt/sweet/domain/gifter/repository/GifterRepository.java b/src/main/java/org/sopt/sweet/domain/gifter/repository/GifterRepository.java new file mode 100644 index 0000000..41e376c --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/gifter/repository/GifterRepository.java @@ -0,0 +1,7 @@ +package org.sopt.sweet.domain.gifter.repository; + +import org.sopt.sweet.domain.gifter.entity.Gifter; +import org.springframework.data.jpa.repository.JpaRepository; + +public interface GifterRepository extends JpaRepository { +} From 9168f970c602231ca2d97e973e86a7e24592b185 Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:27:44 +0900 Subject: [PATCH 19/20] =?UTF-8?q?[feat]=20#5=20GifterMember=20repository?= =?UTF-8?q?=20=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/gifter/repository/GifterMemberRepository.java | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/gifter/repository/GifterMemberRepository.java diff --git a/src/main/java/org/sopt/sweet/domain/gifter/repository/GifterMemberRepository.java b/src/main/java/org/sopt/sweet/domain/gifter/repository/GifterMemberRepository.java new file mode 100644 index 0000000..1d5ae26 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/gifter/repository/GifterMemberRepository.java @@ -0,0 +1,7 @@ +package org.sopt.sweet.domain.gifter.repository; + +import org.sopt.sweet.domain.gifter.entity.GifterMember; +import org.springframework.data.jpa.repository.JpaRepository; + +public interface GifterMemberRepository extends JpaRepository { +} From b9abba87eb52c381dbb123e5332896d53ba715f8 Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Mon, 1 Jan 2024 21:28:00 +0900 Subject: [PATCH 20/20] =?UTF-8?q?[feat]=20#5=20Product=20repository=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sweet/domain/product/repository/ProductRepository.java | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/main/java/org/sopt/sweet/domain/product/repository/ProductRepository.java diff --git a/src/main/java/org/sopt/sweet/domain/product/repository/ProductRepository.java b/src/main/java/org/sopt/sweet/domain/product/repository/ProductRepository.java new file mode 100644 index 0000000..b6120b4 --- /dev/null +++ b/src/main/java/org/sopt/sweet/domain/product/repository/ProductRepository.java @@ -0,0 +1,7 @@ +package org.sopt.sweet.domain.product.repository; + +import org.sopt.sweet.domain.product.entity.Product; +import org.springframework.data.jpa.repository.JpaRepository; + +public interface ProductRepository extends JpaRepository { +}