View as "text/plain" | Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.model;public class PriceDropBrandModel {private String brand;private long amount;public String getBrand() {return brand;}public void setBrand(String brand) {this.brand = brand;}public long getAmount() {return amount;}public void setAmount(long amount) {this.amount = amount;}public PriceDropBrandModel(String brand, long amount) {super();this.brand = brand;this.amount = amount;}@Overridepublic int hashCode() {final int prime = 31;int result = 1;result = prime * result + (int) (amount ^ (amount >>> 32));result = prime * result + ((brand == null) ? 0 : brand.hashCode());return result;}@Overridepublic boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (getClass() != obj.getClass())return false;PriceDropBrandModel other = (PriceDropBrandModel) obj;if (amount != other.amount)return false;if (brand == null) {if (other.brand != null)return false;} else if (!brand.equals(other.brand))return false;return true;}@Overridepublic String toString() {return "PriceDropBrandModel [brand=" + brand + ", amount=" + amount + "]";}}