Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.model;import java.util.List;import java.util.Objects;public class TodayOfferModel {String brand;int catalogId;String modelName;List<TodayCatalogOfferModel> todayCatalogOfferModels;List<WebOfferModel> webOfferModels;List<CustomerOfferItemModel> customerOfferItemModels;List<SchemeOfferModel> schemeOfferModels;private List<CatalogBrief> catalogs;public String getBrand() {return brand;}public void setBrand(String brand) {this.brand = brand;}public List<CatalogBrief> getCatalogs() {return catalogs;}public void setCatalogs(List<CatalogBrief> catalogs) {this.catalogs = catalogs;}public int getCatalogId() {return catalogId;}public void setCatalogId(int catalogId) {this.catalogId = catalogId;}public List<TodayCatalogOfferModel> getTodayCatalogOfferModels() {return todayCatalogOfferModels;}public void setTodayCatalogOfferModels(List<TodayCatalogOfferModel> todayCatalogOfferModels) {this.todayCatalogOfferModels = todayCatalogOfferModels;}public List<WebOfferModel> getWebOfferModels() {return webOfferModels;}public void setWebOfferModels(List<WebOfferModel> webOfferModels) {this.webOfferModels = webOfferModels;}public List<CustomerOfferItemModel> getCustomerOfferItemModels() {return customerOfferItemModels;}public void setCustomerOfferItemModels(List<CustomerOfferItemModel> customerOfferItemModels) {this.customerOfferItemModels = customerOfferItemModels;}public List<SchemeOfferModel> getSchemeOfferModels() {return schemeOfferModels;}public void setSchemeOfferModels(List<SchemeOfferModel> schemeOfferModels) {this.schemeOfferModels = schemeOfferModels;}public String getModelName() {return modelName;}public void setModelName(String modelName) {this.modelName = modelName;}@Overridepublic String toString() {return "TodayOfferModel{" +"brand='" + brand + '\'' +", catalogId=" + catalogId +", modelName='" + modelName + '\'' +", catalogs=" + catalogs +", todayCatalogOfferModels=" + todayCatalogOfferModels +", webOfferModels=" + webOfferModels +", customerOfferItemModels=" + customerOfferItemModels +", schemeOfferModels=" + schemeOfferModels +'}';}@Overridepublic boolean equals(Object o) {if (this == o) return true;if (o == null || getClass() != o.getClass()) return false;TodayOfferModel that = (TodayOfferModel) o;return catalogId == that.catalogId && Objects.equals(brand, that.brand);}@Overridepublic int hashCode() {return Objects.hash(brand, catalogId);}}