-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c375953
commit 1820779
Showing
20 changed files
with
1,150 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
210 changes: 210 additions & 0 deletions
210
...va/org/cardanofoundation/lob/app/accounting_reporting_core/resource/ReportController.java
Large diffs are not rendered by default.
Oops, something went wrong.
77 changes: 77 additions & 0 deletions
77
...nofoundation/lob/app/accounting_reporting_core/resource/requests/BalanceSheetRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
package org.cardanofoundation.lob.app.accounting_reporting_core.resource.requests; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import lombok.extern.slf4j.Slf4j; | ||
import org.cardanofoundation.lob.app.accounting_reporting_core.domain.core.report.IntervalType; | ||
import org.cardanofoundation.lob.app.accounting_reporting_core.domain.core.report.ReportType; | ||
|
||
@Getter | ||
@Setter | ||
@AllArgsConstructor | ||
//@Builder todo: For testing | ||
@NoArgsConstructor | ||
@Slf4j | ||
public class BalanceSheetRequest { | ||
|
||
@Schema(example = "75f95560c1d883ee7628993da5adf725a5d97a13929fd4f477be0faf5020ca94") | ||
private String organisationID; | ||
|
||
private ReportType reportType; | ||
|
||
private IntervalType intervalType; | ||
|
||
@Schema(example = "2024") | ||
private short year; | ||
|
||
@Schema(example = "3") | ||
private short period; | ||
|
||
@Schema(example = "265306.12") | ||
private String propertyPlantEquipment; | ||
|
||
@Schema(example = "63673.47") | ||
private String intangibleAssets; | ||
|
||
@Schema(example = "106122.45") | ||
private String investments; | ||
|
||
@Schema(example = "79591.84") | ||
private String financialAssets; | ||
|
||
@Schema(example = "15918.37") | ||
private String prepaymentsAndOtherShortTermAssets; | ||
|
||
@Schema(example = "26530.61") | ||
private String otherReceivables; | ||
|
||
@Schema(example = "53061.22") | ||
private String cryptoAssets; | ||
|
||
@Schema(example = "39795.92") | ||
private String cashAndCashEquivalents; | ||
|
||
@Schema(example = "20000.00") | ||
private String provisions; | ||
|
||
@Schema(example = "15000.00") | ||
private String tradeAccountsPayables; | ||
|
||
@Schema(example = "10000.00") | ||
private String otherCurrentLiabilities; | ||
|
||
@Schema(example = "5000.00") | ||
private String accrualsAndShortTermProvisions; | ||
|
||
@Schema(example = "300000.00") | ||
private String capital; | ||
|
||
@Schema(example = "100000.00") | ||
private String profitForTheYear; | ||
|
||
@Schema(example = "200000.00") | ||
private String resultsCarriedForward; | ||
} |
79 changes: 79 additions & 0 deletions
79
...oundation/lob/app/accounting_reporting_core/resource/requests/IncomeStatementRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
package org.cardanofoundation.lob.app.accounting_reporting_core.resource.requests; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import lombok.extern.slf4j.Slf4j; | ||
import org.cardanofoundation.lob.app.accounting_reporting_core.domain.core.report.IntervalType; | ||
import org.cardanofoundation.lob.app.accounting_reporting_core.domain.core.report.ReportType; | ||
|
||
@Getter | ||
@Setter | ||
@AllArgsConstructor | ||
//@Builder todo: For testing | ||
@NoArgsConstructor | ||
@Slf4j | ||
public class IncomeStatementRequest { | ||
|
||
@Schema(example = "75f95560c1d883ee7628993da5adf725a5d97a13929fd4f477be0faf5020ca94") | ||
private String organisationID; | ||
|
||
@Schema(example = "INCOME_STATEMENT") | ||
private ReportType reportType; | ||
|
||
private IntervalType intervalType; | ||
|
||
@Schema(example = "2024") | ||
private short year; | ||
|
||
@Schema(example = "3") | ||
private short period; | ||
|
||
@Schema(example = "10000.90") | ||
private String otherIncome; | ||
|
||
@Schema(example = "1000000.10") | ||
private String buildOfLongTermProvision; | ||
|
||
@Schema(example = "500000.15") | ||
private String costOfProvidingServices; | ||
|
||
@Schema(example = "200000.53") | ||
private String financialRevenues; | ||
|
||
@Schema(example = "100000.10") | ||
private String netIncomeOptionsSale; | ||
|
||
@Schema(example = "50000.15") | ||
private String realisedGainsOnSaleOfCryptocurrencies; | ||
|
||
@Schema(example = "10000.53") | ||
private String stakingRewardsIncome; | ||
|
||
@Schema(example = "20000.10") | ||
private String financialExpenses; | ||
|
||
@Schema(example = "10000.10") | ||
private String extraordinaryExpenses; | ||
|
||
@Schema(example = "1000.51") | ||
private String incomeTaxExpense; | ||
|
||
@Schema(example = "500000.15") | ||
private String personnelExpenses; | ||
|
||
@Schema(example = "200000.53") | ||
private String generalAndAdministrativeExpenses; | ||
|
||
@Schema(example = "200000.53") | ||
private String depreciationAndImpairmentLossesOnTangibleAssets; | ||
|
||
@Schema(example = "200000.53") | ||
private String amortizationOnIntangibleAssets; | ||
|
||
@Schema(example = "200000.53") | ||
private String rentExpenses; | ||
|
||
} |
Oops, something went wrong.