Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.model;import com.spice.profitmandi.dao.enumuration.catalog.OfferSchemeType;import java.util.List;import java.util.Objects;public class TodayCatalogOfferModel {int offerId;String offerName;String brand;String partnerCriteria;OfferSchemeType schemeType;int catalogId;String modelName;private List<PayoutSlabModel> payoutSlabs;public int getOfferId() {return offerId;}public void setOfferId(int offerId) {this.offerId = offerId;}public String getOfferName() {return offerName;}public void setOfferName(String offerName) {this.offerName = offerName;}public String getPartnerCriteria() {return partnerCriteria;}public void setPartnerCriteria(String partnerCriteria) {this.partnerCriteria = partnerCriteria;}public OfferSchemeType getSchemeType() {return schemeType;}public void setSchemeType(OfferSchemeType schemeType) {this.schemeType = schemeType;}public List<PayoutSlabModel> getPayoutSlabs() {return payoutSlabs;}public void setPayoutSlabs(List<PayoutSlabModel> payoutSlabs) {this.payoutSlabs = payoutSlabs;}public int getCatalogId() {return catalogId;}public void setCatalogId(int catalogId) {this.catalogId = catalogId;}public String getBrand() {return brand;}public void setBrand(String brand) {this.brand = brand;}public String getModelName() {return modelName;}public void setModelName(String modelName) {this.modelName = modelName;}@Overridepublic boolean equals(Object o) {if (this == o) return true;if (o == null || getClass() != o.getClass()) return false;TodayCatalogOfferModel that = (TodayCatalogOfferModel) o;return offerId == that.offerId && catalogId == that.catalogId && Objects.equals(offerName, that.offerName) && Objects.equals(brand, that.brand) && Objects.equals(partnerCriteria, that.partnerCriteria) && schemeType == that.schemeType && Objects.equals(payoutSlabs, that.payoutSlabs) && Objects.equals(modelName, that.modelName);}@Overridepublic int hashCode() {return Objects.hash(offerId, offerName, brand, partnerCriteria, schemeType, payoutSlabs, catalogId, modelName);}@Overridepublic String toString() {return "TodayCatalogOfferModel{" +"offerId=" + offerId +", offerName='" + offerName + '\'' +", brand='" + brand + '\'' +", partnerCriteria='" + partnerCriteria + '\'' +", schemeType=" + schemeType +", payoutSlabs=" + payoutSlabs +", catalogId=" + catalogId +", modelName='" + modelName + '\'' +'}';}}