FINERACT-2169: Apply DTO instead String json in FundsApiResource

This commit is contained in:
oleksandr.masliuk
2025-03-19 11:56:08 +01:00
committed by Adam Saghy
parent 04770133d0
commit c9c01a50e2
7 changed files with 59 additions and 61 deletions
@@ -19,10 +19,12 @@
package org.apache.fineract.portfolio.fund.data;
import java.io.Serializable;
import lombok.Getter;
/**
* Immutable data object to represent fund data.
*/
@Getter
public final class FundData implements Serializable {
@SuppressWarnings("unused")
@@ -41,12 +43,4 @@ public final class FundData implements Serializable {
this.name = name;
this.externalId = externalId;
}
public String getName() {
return name;
}
public Long getId() {
return id;
}
}