From aae265c50ffe88108c89ff587682d326e4b96e1c Mon Sep 17 00:00:00 2001 From: Matteo Giordano Date: Mon, 6 Sep 2021 16:40:39 +0200 Subject: [PATCH] Expose sellin/out in CSV report for admin --- .../model/dto/csv/ParentProceedsCsvDTO.java | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/cloudesire-api-client-dto/src/main/java/com/cloudesire/platform/apiclient/dto/model/dto/csv/ParentProceedsCsvDTO.java b/cloudesire-api-client-dto/src/main/java/com/cloudesire/platform/apiclient/dto/model/dto/csv/ParentProceedsCsvDTO.java index 2e57fd29a..d5f7ef09d 100644 --- a/cloudesire-api-client-dto/src/main/java/com/cloudesire/platform/apiclient/dto/model/dto/csv/ParentProceedsCsvDTO.java +++ b/cloudesire-api-client-dto/src/main/java/com/cloudesire/platform/apiclient/dto/model/dto/csv/ParentProceedsCsvDTO.java @@ -7,7 +7,7 @@ @JsonPropertyOrder( { "invoiceId", "subscriptionId", "product", "distributor", "reseller", "vendor", "customer", "email", "address", "fiscalCode", "taxCode", "purchased", "lineId", "type", "description", "quantity", "vendorIncome", "cloudCosts", - "wholesale" + "wholesale", "sellin", "sellout" } ) public class ParentProceedsCsvDTO extends CustomerDetailsProceedsCsvDTO { @@ -21,6 +21,10 @@ public class ParentProceedsCsvDTO extends CustomerDetailsProceedsCsvDTO private BigDecimal wholesale; + private BigDecimal sellin; + + private BigDecimal sellout; + // region Auto-generated codess public String getDistributor() { @@ -71,5 +75,25 @@ public void setWholesale( BigDecimal wholesale ) { this.wholesale = wholesale; } + + public BigDecimal getSellin() + { + return sellin; + } + + public void setSellin( BigDecimal sellin ) + { + this.sellin = sellin; + } + + public BigDecimal getSellout() + { + return sellout; + } + + public void setSellout( BigDecimal sellout ) + { + this.sellout = sellout; + } // endregion }