Skip to content

Instantly share code, notes, and snippets.

@codeaholicguy
Created February 9, 2016 14:03
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 codeaholicguy/a73da38daf0342834fdb to your computer and use it in GitHub Desktop.
Save codeaholicguy/a73da38daf0342834fdb to your computer and use it in GitHub Desktop.
public class Product implements Serializable {
private String id;
private String name;
public Product(String id, String name) {
this.id = id;
this.name = name;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment