Skip to content

Instantly share code, notes, and snippets.

@Aleksandr-Filichkin
Created September 29, 2019 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Aleksandr-Filichkin/138be948c965d89ea170713ff172c0c8 to your computer and use it in GitHub Desktop.
Save Aleksandr-Filichkin/138be948c965d89ea170713ff172c0c8 to your computer and use it in GitHub Desktop.
User model
@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