Created
June 28, 2017 12:00
-
-
Save solitudelad/2e2194ed270fb5e3cbdeca99197597e8 to your computer and use it in GitHub Desktop.
Book model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment