Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. package com.knoldus;
  2.  
  3. import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
  4. import lombok.AllArgsConstructor;
  5. import lombok.Builder;
  6. import lombok.Value;
  7.  
  8. import javax.annotation.concurrent.Immutable;
  9.  
  10. @Value
  11. @Builder
  12. @Immutable
  13. @JsonDeserialize
  14. @AllArgsConstructor
  15. public final class Book {
  16. String isbn;
  17. String bookName;
  18. String authorName;
  19. float price;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement