View as "text/plain" | Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.model;public class BrandWiseActivatedModel {private String brand;private long lmsQty;private long lms;private long mtdQty;private long mtd;private long lmtdQty;private long lmtd;public BrandWiseActivatedModel(String brand, long lmsQty, long lms, long mtdQty, long mtd, long lmtdQty,long lmtd) {super();this.brand = brand;this.lmsQty = lmsQty;this.lms = lms;this.mtdQty = mtdQty;this.mtd = mtd;this.lmtdQty = lmtdQty;this.lmtd = lmtd;}public String getBrand() {return brand;}public void setBrand(String brand) {this.brand = brand;}public long getLms() {return lms;}public void setLms(long lms) {this.lms = lms;}public long getLmsQty() {return lmsQty;}public void setLmsQty(long lmsQty) {this.lmsQty = lmsQty;}public long getMtd() {return mtd;}public void setMtd(long mtd) {this.mtd = mtd;}public long getMtdQty() {return mtdQty;}public void setMtdQty(long mtdQty) {this.mtdQty = mtdQty;}public long getLmtd() {return lmtd;}public void setLmtd(long lmtd) {this.lmtd = lmtd;}public long getLmtdQty() {return lmtdQty;}public void setLmtdQty(long lmtdQty) {this.lmtdQty = lmtdQty;}@Overridepublic int hashCode() {final int prime = 31;int result = 1;result = prime * result + ((brand == null) ? 0 : brand.hashCode());result = prime * result + (int) (lms ^ (lms >>> 32));result = prime * result + (int) (lmsQty ^ (lmsQty >>> 32));result = prime * result + (int) (lmtd ^ (lmtd >>> 32));result = prime * result + (int) (lmtdQty ^ (lmtdQty >>> 32));result = prime * result + (int) (mtd ^ (mtd >>> 32));result = prime * result + (int) (mtdQty ^ (mtdQty >>> 32));return result;}@Overridepublic boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (getClass() != obj.getClass())return false;BrandWiseActivatedModel other = (BrandWiseActivatedModel) obj;if (brand == null) {if (other.brand != null)return false;} else if (!brand.equals(other.brand))return false;if (lms != other.lms)return false;if (lmsQty != other.lmsQty)return false;if (lmtd != other.lmtd)return false;if (lmtdQty != other.lmtdQty)return false;if (mtd != other.mtd)return false;if (mtdQty != other.mtdQty)return false;return true;}@Overridepublic String toString() {return "BrandWiseActivatedModel [brand=" + brand + ", lms=" + lms + ", lmsQty=" + lmsQty + ", mtd=" + mtd+ ", mtdQty=" + mtdQty + ", lmtd=" + lmtd + ", lmtdQty=" + lmtdQty + "]";}}