Moved constructor to the top.

This commit is contained in:
Anagh Hegde 2021-06-10 17:12:29 +05:30
parent bcd5f0600d
commit fea54e2fa0

View File

@ -22,14 +22,14 @@ public class ApplicationPage {
Integer order;
@JsonIgnore
public boolean isDefault() {
return Boolean.TRUE.equals(isDefault);
}
public ApplicationPage(String id, boolean isDefault){
this.id = id;
this.isDefault = isDefault;
}
@JsonIgnore
public boolean isDefault() {
return Boolean.TRUE.equals(isDefault);
}
}