Created
March 29, 2024 01:16
-
-
Save httpmurilo/85efcca52da7953b48a8f1f7046dbc75 to your computer and use it in GitHub Desktop.
User.java
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
@Entity | |
public class User { | |
public User() {} | |
@Id | |
private int id; | |
private String name; | |
@Enumerated(EnumType.STRING) | |
private Status isActive; | |
@Enumerated(EnumType.STRING) | |
private Status isAdmin; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment