Last active
June 17, 2020 21:16
-
-
Save dennysfredericci/3f7ef47b6f320d972a55e785d667ce6c to your computer and use it in GitHub Desktop.
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
@Entity | |
public class Person { | |
@Id | |
private Long id; | |
private String firstName; | |
private String lastName; | |
@Enumerated(EnumType.STRING) | |
private Gender gender; | |
//getters and setters (omitted for brevity) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment