Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.model;/*** Month-bucketed, per-brand collapse of the offer-payout query. The per-IMEI detail of* {@code OfferPayoutImeiIncomeModel} is only ever reduced to brand-wise purchase/sale payout sums by* the earnings computation, so a single range query can return per-(yyyymm, brand) sums directly* instead of one per-IMEI query per month. Sums are identical to grouping per-IMEI then per-brand.*/public class MonthlyOfferPayoutModel {private int yearMonth;private String brand;private double purchasePayout;private double salePayout;public MonthlyOfferPayoutModel(int yearMonth, String brand, double purchasePayout, double salePayout) {this.yearMonth = yearMonth;this.brand = brand;this.purchasePayout = purchasePayout;this.salePayout = salePayout;}public int getYearMonth() {return yearMonth;}public String getBrand() {return brand;}public double getPurchasePayout() {return purchasePayout;}public double getSalePayout() {return salePayout;}}