Skip to content

Instantly share code, notes, and snippets.

@enesakar
Created June 27, 2012 07:27
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 enesakar/3002226 to your computer and use it in GitHub Desktop.
Save enesakar/3002226 to your computer and use it in GitHub Desktop.
usr mdl
package com.hazelmongo;
import java.io.Serializable;
public class User implements Serializable {
private String name;
private int age;
public User(String name, int age) {
this.name = name;
this.age = age;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
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