Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.example.shopping_mall.cart.cart_item;

import com.example.shopping_mall.Product.Product;
import com.example.shopping_mall.product.Product;
import com.example.shopping_mall.cart.Cart;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@

//import com.example.shopping_mall.user.User;

import com.example.shopping_mall.Product.Product;
import com.example.shopping_mall.ProductCategory.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Optional;

public interface CartItemRepository extends JpaRepository<CartItem, Long> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.example.shopping_mall.cart.cart_item;

import com.example.shopping_mall.Product.Product;
import com.example.shopping_mall.Product.ProductRepository;
import com.example.shopping_mall.product.Product;
import com.example.shopping_mall.product.ProductRepository;
import com.example.shopping_mall.cart.Cart;
import com.example.shopping_mall.cart.CartRepository;
import com.example.shopping_mall.cart.cart_item.dto.CartItemResponse;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.example.shopping_mall.Product;
package com.example.shopping_mall.product;

import com.example.shopping_mall.ProductCategory.ProductCategory;
import com.example.shopping_mall.productCategory.ProductCategory;
import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.example.shopping_mall.Product;
package com.example.shopping_mall.product;

import com.example.shopping_mall.Product.Dto.ProductRequest;
import com.example.shopping_mall.Product.Dto.ProductResponse;
import com.example.shopping_mall.product.dto.ProductRequest;
import com.example.shopping_mall.product.dto.ProductResponse;
import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.shopping_mall.Product;
package com.example.shopping_mall.product;

import org.springframework.data.jpa.repository.JpaRepository;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.example.shopping_mall.Product;
package com.example.shopping_mall.product;

import com.example.shopping_mall.Product.Dto.ProductRequest;
import com.example.shopping_mall.Product.Dto.ProductResponse;
import com.example.shopping_mall.ProductCategory.ProductCategory;
import com.example.shopping_mall.ProductCategory.ProductCategoryRepository;
import com.example.shopping_mall.product.dto.ProductRequest;
import com.example.shopping_mall.product.dto.ProductResponse;
import com.example.shopping_mall.productCategory.ProductCategory;
import com.example.shopping_mall.productCategory.ProductCategoryRepository;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.shopping_mall.Product.Dto;
package com.example.shopping_mall.product.dto;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.example.shopping_mall.Product.Dto;
package com.example.shopping_mall.product.dto;

import com.example.shopping_mall.Product.Product;
import com.example.shopping_mall.product.Product;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.shopping_mall.ProductCategory;
package com.example.shopping_mall.productCategory;


import jakarta.persistence.Entity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.shopping_mall.ProductCategory;
package com.example.shopping_mall.productCategory;


import lombok.RequiredArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.shopping_mall.ProductCategory;
package com.example.shopping_mall.productCategory;


import org.springframework.data.jpa.repository.JpaRepository;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.shopping_mall.ProductCategory;
package com.example.shopping_mall.productCategory;


import lombok.RequiredArgsConstructor;
Expand Down