Rev 24107 | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.common.model;import java.util.List;public class PartnerTargetModel {private int fofoId;private String storeName;private String email;List<Integer> targets;public int getFofoId() {return fofoId;}public void setFofoId(int fofoId) {this.fofoId = fofoId;}public String getStoreName() {return storeName;}public void setStoreName(String storeName) {this.storeName = storeName;}public String getEmail() {return email;}public void setEmail(String email) {this.email = email;}public List<Integer> getTargets() {return targets;}public void setTargets(List<Integer> targets) {this.targets = targets;}@Overridepublic String toString() {return "PartnerTargetModel [fofoId=" + fofoId + ", storeName=" + storeName + ", email=" + email + ", targets="+ targets + "]";}@Overridepublic int hashCode() {final int prime = 31;int result = 1;result = prime * result + ((email == null) ? 0 : email.hashCode());result = prime * result + fofoId;result = prime * result + ((storeName == null) ? 0 : storeName.hashCode());result = prime * result + ((targets == null) ? 0 : targets.hashCode());return result;}@Overridepublic boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (getClass() != obj.getClass())return false;PartnerTargetModel other = (PartnerTargetModel) obj;if (email == null) {if (other.email != null)return false;} else if (!email.equals(other.email))return false;if (fofoId != other.fofoId)return false;if (storeName == null) {if (other.storeName != null)return false;} else if (!storeName.equals(other.storeName))return false;if (targets == null) {if (other.targets != null)return false;} else if (!targets.equals(other.targets))return false;return true;}}