Created
January 15, 2023 17:31
-
-
Save oofnivek/1bec8ddcab6eb4313b7f769e9411fe52 to your computer and use it in GitHub Desktop.
This file contains hidden or 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.example.demo; | |
import lombok.Getter; | |
import lombok.Setter; | |
public class Book { | |
@Getter | |
@Setter | |
private String id; | |
@Getter | |
@Setter | |
private String name; | |
public Book(String id, String name){ | |
this.id = id; | |
this.name = name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment