Created
November 11, 2015 15:44
-
-
Save chanakaDe/67e4444e8d42da03cd3a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.chanakaSample.model; | |
import javax.xml.bind.annotation.XmlRootElement; | |
@XmlRootElement | |
public class User { | |
private String id; | |
private String 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