diff --git a/src/main/java/mate/academy/model/Book.java b/src/main/java/mate/academy/model/Book.java index fc3b61c..a0b6857 100644 --- a/src/main/java/mate/academy/model/Book.java +++ b/src/main/java/mate/academy/model/Book.java @@ -7,10 +7,12 @@ import jakarta.persistence.Id; import jakarta.persistence.Table; import java.math.BigDecimal; -import lombok.Data; +import lombok.Getter; +import lombok.Setter; @Entity -@Data +@Getter +@Setter @Table(name = "books") public class Book { @Id diff --git a/src/main/java/mate/academy/service/BookService.java b/src/main/java/mate/academy/service/BookService.java index d5aac7f..7cc0c10 100644 --- a/src/main/java/mate/academy/service/BookService.java +++ b/src/main/java/mate/academy/service/BookService.java @@ -8,7 +8,6 @@ @Service public class BookService { - private final BookRepository bookRepository; @Autowired