Created
May 4, 2021 10:50
-
-
Save walidum/8c090da87794462859d785e0af597042 to your computer and use it in GitHub Desktop.
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
import lombok.Getter; | |
import lombok.NoArgsConstructor; | |
import lombok.Setter; | |
@Setter | |
@Getter | |
@NoArgsConstructor | |
public class Person { | |
private int id; | |
private String name; | |
public Person(int 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