FINERACT-2169: Apply dto in SearchApiResource
This commit is contained in:
committed by
Adam Saghy
parent
f73b352727
commit
79c08ed7c9
+2
-44
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user