FINERACT-2169: Apply dto in SearchApiResource

This commit is contained in:
oleksandr.masliuk
2025-03-26 10:03:19 +01:00
committed by Adam Saghy
parent f73b352727
commit 79c08ed7c9
6 changed files with 17 additions and 93 deletions
@@ -18,8 +18,10 @@
*/
package org.apache.fineract.portfolio.search.data;
import lombok.Getter;
import org.apache.fineract.infrastructure.core.data.EnumOptionData;
@Getter
public class SearchData {
private final Long entityId;
@@ -51,48 +53,4 @@ public class SearchData {
this.subEntityType = subEntityType;
}
public Long getEntityId() {
return this.entityId;
}
public String getEntityAccountNo() {
return this.entityAccountNo;
}
public String getEntityExternalId() {
return this.entityExternalId;
}
public String getEntityName() {
return this.entityName;
}
public String getEntityType() {
return this.entityType;
}
public Long getParentId() {
return this.parentId;
}
public String getParentName() {
return this.parentName;
}
public String getParentType() {
return this.parentType;
}
public String getEntityMobileNo() {
return this.entityMobileNo;
}
public EnumOptionData getEntityStatus() {
return this.entityStatus;
}
public String getSubEntityType() {
return this.subEntityType;
}
}