Last active
June 1, 2018 08:54
-
-
Save chathurangat/0dd2660249c2b1c3bba35bb4414858d4 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
import lombok.AccessLevel; | |
import lombok.Getter; | |
import lombok.Setter; | |
import javax.persistence.*; | |
@Setter(AccessLevel.PUBLIC) | |
@Getter(AccessLevel.PUBLIC) | |
@Entity | |
@Table(name = "users") | |
public class User extends Auditable<String> | |
{ | |
@Id | |
@GeneratedValue(strategy = GenerationType.AUTO) | |
private Long userId; | |
private String name; | |
private String email; | |
private String country; | |
private String website; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment