Add several improvements for EM
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user