using string to represent PersonTopic.(fromYear|toYear)

This commit is contained in:
Claudio Atzori 2024-10-08 16:20:55 +02:00
parent 14365d7ea2
commit 9ad61e70fa
1 changed files with 6 additions and 6 deletions

View File

@ -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;
}
}