Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.knoldus;
- import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
- import lombok.AllArgsConstructor;
- import lombok.Builder;
- import lombok.Value;
- import javax.annotation.concurrent.Immutable;
- @Value
- @Builder
- @Immutable
- @JsonDeserialize
- @AllArgsConstructor
- public final class Book {
- String isbn;
- String bookName;
- String authorName;
- float price;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement