Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.model;/*** DTO for offer-wise earnings summary (grouped by offerId).* Used by the V2 offer earnings endpoint.* Rejected payouts (rejectTimestamp IS NOT NULL) are excluded.*/public class OfferEarningModel {private long offerId;private String offerName;private String schemeType;private long unitCount;private double totalEarned;public OfferEarningModel(long offerId, String offerName, String schemeType,long unitCount, double totalEarned) {this.offerId = offerId;this.offerName = offerName;this.schemeType = schemeType;this.unitCount = unitCount;this.totalEarned = totalEarned;}public long getOfferId() { return offerId; }public void setOfferId(long offerId) { this.offerId = offerId; }public String getOfferName() { return offerName; }public void setOfferName(String offerName) { this.offerName = offerName; }public String getSchemeType() { return schemeType; }public void setSchemeType(String schemeType) { this.schemeType = schemeType; }public long getUnitCount() { return unitCount; }public void setUnitCount(long unitCount) { this.unitCount = unitCount; }public double getTotalEarned() { return totalEarned; }public void setTotalEarned(double totalEarned) { this.totalEarned = totalEarned; }}