Skip to content

Instantly share code, notes, and snippets.

@ugurcemozturk
Last active December 6, 2017 13:24
Show Gist options
  • Save ugurcemozturk/5c0e31a948711a64b29d15d576f94e42 to your computer and use it in GitHub Desktop.
Save ugurcemozturk/5c0e31a948711a64b29d15d576f94e42 to your computer and use it in GitHub Desktop.
@Entity
public class Developer {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private long id;
private String username;
private String password;
public long getId() {
return id;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment