Skip to content

Instantly share code, notes, and snippets.

@linhvovn
Created February 2, 2019 11:19
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 linhvovn/fc8f3bf3e7718ba425e2b1807461ac9c to your computer and use it in GitHub Desktop.
Save linhvovn/fc8f3bf3e7718ba425e2b1807461ac9c to your computer and use it in GitHub Desktop.
@Entity
@Table(name = "languages")
public class LanguageEntity {
@GeneratedValue(strategy = GenerationType.AUTO)
@Id
@Column
private Integer id;
@Column
private String locale;
@Column(name = "messagekey")
private String key;
@Column(name = "messagecontent")
private String content;
//Getter & Setter
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment