Created
September 29, 2019 08:41
-
-
Save Aleksandr-Filichkin/138be948c965d89ea170713ff172c0c8 to your computer and use it in GitHub Desktop.
User 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
@Data | |
@Table("blog.user") | |
@Builder | |
public class User { | |
@Id | |
private long id; | |
@Column | |
private String name; | |
@Column | |
private String surname; | |
@Column | |
private String email; | |
@Column | |
private Instant created; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment