Skip to content

Instantly share code, notes, and snippets.

@Nkzn
Last active December 20, 2015 14:58
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 Nkzn/6150428 to your computer and use it in GitHub Desktop.
Save Nkzn/6150428 to your computer and use it in GitHub Desktop.
package jp.water_cell.sample.jpp_lombok.model;
import net.vvakame.util.jsonpullparser.annotation.JsonKey;
import net.vvakame.util.jsonpullparser.annotation.JsonModel;
/**
* 下記のJSONをパースするために必要なModelクラス。
* {"one":"1", "two":"2", "three":"3", "four":"4", "five":"5", "six":"6", "seven":"7", "eight":"8", "nine":"9", "ten":"10"}
*/
@JsonModel
public class Model {
@JsonKey
String one;
@JsonKey
String two;
@JsonKey
String three;
@JsonKey
String four;
@JsonKey
String five;
@JsonKey
String six;
@JsonKey
String seven;
@JsonKey
String eight;
@JsonKey
String nine;
@JsonKey
String ten;
public String getOne() {
return one;
}
public void setOne(String one) {
this.one = one;
}
public String getTwo() {
return two;
}
public void setTwo(String two) {
this.two = two;
}
public String getThree() {
return three;
}
public void setThree(String three) {
this.three = three;
}
public String getFour() {
return four;
}
public void setFour(String four) {
this.four = four;
}
public String getFive() {
return five;
}
public void setFive(String five) {
this.five = five;
}
public String getSix() {
return six;
}
public void setSix(String six) {
this.six = six;
}
public String getSeven() {
return seven;
}
public void setSeven(String seven) {
this.seven = seven;
}
public String getEight() {
return eight;
}
public void setEight(String eight) {
this.eight = eight;
}
public String getNine() {
return nine;
}
public void setNine(String nine) {
this.nine = nine;
}
public String getTen() {
return ten;
}
public void setTen(String ten) {
this.ten = ten;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment