using string to represent PersonTopic.(fromYear|toYear)
This commit is contained in:
parent
14365d7ea2
commit
9ad61e70fa
|
@ -10,9 +10,9 @@ public class PersonTopic implements Serializable {
|
|||
|
||||
private String schema;
|
||||
|
||||
private int fromYear;
|
||||
private String fromYear;
|
||||
|
||||
private int toYear;
|
||||
private String toYear;
|
||||
|
||||
public PersonTopic() {
|
||||
}
|
||||
|
@ -33,19 +33,19 @@ public class PersonTopic implements Serializable {
|
|||
this.schema = schema;
|
||||
}
|
||||
|
||||
public int getFromYear() {
|
||||
public String getFromYear() {
|
||||
return fromYear;
|
||||
}
|
||||
|
||||
public void setFromYear(int fromYear) {
|
||||
public void setFromYear(String fromYear) {
|
||||
this.fromYear = fromYear;
|
||||
}
|
||||
|
||||
public int getToYear() {
|
||||
public String getToYear() {
|
||||
return toYear;
|
||||
}
|
||||
|
||||
public void setToYear(int toYear) {
|
||||
public void setToYear(String toYear) {
|
||||
this.toYear = toYear;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue