-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #841 from egovernments/ISTE-175-new
ISTE-175 added code for pushing roll out data to indexer
- Loading branch information
Showing
8 changed files
with
132 additions
and
9 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
42 changes: 42 additions & 0 deletions
42
...vices/ws-calculator/src/main/java/org/egov/wscalculation/web/models/RollOutDashboard.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,42 @@ | ||
package org.egov.wscalculation.web.models; | ||
|
||
import jdk.nashorn.internal.ir.annotations.Ignore; | ||
import lombok.*; | ||
|
||
import java.time.LocalDateTime; | ||
import java.util.Date; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Builder | ||
public class RollOutDashboard { | ||
private String id; | ||
private String tenantid; | ||
private String projectcode; | ||
private String zone; | ||
private String circle; | ||
private String division; | ||
private String subdivision; | ||
private String section; | ||
private int activeUsersCount; | ||
private double totalAdvance; | ||
private double totalPenalty; | ||
private int totalConnections; | ||
private int activeConnections; | ||
private String lastDemandGenDate; | ||
private int demandGeneratedConsumerCount; | ||
private double totalDemandAmount; | ||
private double collectionTillDate; | ||
private String lastCollectionDate; | ||
private int expenseCount; | ||
private int countOfElectricityExpenseBills; | ||
private int noOfPaidExpenseBills; | ||
private String lastExpenseTxnDate; | ||
private double totalAmountOfExpenseBills; | ||
private double totalAmountOfElectricityBills; | ||
private double totalAmountOfPaidExpenseBills; | ||
private String dateRange; | ||
private Date createdTime; | ||
private String tenantName; | ||
} |
24 changes: 24 additions & 0 deletions
24
...s-calculator/src/main/java/org/egov/wscalculation/web/models/RollOutDashboardRequest.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,24 @@ | ||
package org.egov.wscalculation.web.models; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
import org.egov.common.contract.request.RequestInfo; | ||
|
||
import javax.validation.Valid; | ||
|
||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Data | ||
@Builder | ||
public class RollOutDashboardRequest { | ||
|
||
@JsonProperty("RequestInfo") | ||
private RequestInfo requestInfo = null; | ||
|
||
@Valid | ||
@JsonProperty("rollOutDashboard") | ||
private RollOutDashboard rollOutDashboard = null; | ||
} |
26 changes: 26 additions & 0 deletions
26
...-calculator/src/main/java/org/egov/wscalculation/web/models/RollOutDashboardResponse.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,26 @@ | ||
package org.egov.wscalculation.web.models; | ||
|
||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
import org.egov.common.contract.response.ResponseInfo; | ||
|
||
import javax.validation.Valid; | ||
import java.util.List; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Builder | ||
public class RollOutDashboardResponse { | ||
|
||
@JsonProperty("ResponseInfo") | ||
private ResponseInfo responseInfo = null; | ||
|
||
@JsonProperty("RollOutDashboard") | ||
private RollOutDashboard rollOutDashboard = null; | ||
|
||
} |
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