Add several improvements for EM

This commit is contained in:
2024-06-08 00:12:59 +02:00
parent 10b5cc2f9c
commit 1889be5b14
10 changed files with 215 additions and 57 deletions

View File

@@ -28,6 +28,8 @@ public abstract class BaseMatch {
protected Integer matchday = null;
protected String matchDatetime = null;
protected Integer status = null;
protected Integer koMatch = 0;
protected Integer showTable = 0;
protected COMPARISON updateStatus = COMPARISON.IDENTICAL;
public Integer getMatchday() {
@@ -86,6 +88,22 @@ public abstract class BaseMatch {
return this.status;
}
public Integer getShowTable() {
return this.koMatch;
}
public void setShowTable(boolean showTable) {
this.showTable = showTable ? 0 : 1;
}
public Boolean getKoMatch() {
return this.koMatch == 1;
}
public void setKoMatch(Boolean koMatch) {
this.koMatch = koMatch ? 0 : 1;
}
public void setUpdateStatus(COMPARISON newStatus) { this.updateStatus = newStatus; }
public COMPARISON getUpdateStatus() {