View as "text/plain" | Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.model;public class FofoReportingModel {private String code;private int fofoId;private String businessName;private String territoryManager;private String regionalManager;@Overridepublic String toString() {return "FofoReportingModel [code=" + code + ", fofoId=" + fofoId + ", businessName=" + businessName+ ", territoryManager=" + territoryManager + ", regionalManager=" + regionalManager + "]";}public String getCode() {return code;}public void setCode(String code) {this.code = code;}public String getBusinessName() {return businessName;}public void setBusinessName(String businessName) {this.businessName = businessName;}public String getTerritoryManager() {return territoryManager;}public void setTerritoryManager(String territoryManager) {this.territoryManager = territoryManager;}public String getRegionalManager() {return regionalManager;}public void setRegionalManager(String regionalManager) {this.regionalManager = regionalManager;}@Overridepublic int hashCode() {final int prime = 31;int result = 1;result = prime * result + ((businessName == null) ? 0 : businessName.hashCode());result = prime * result + ((code == null) ? 0 : code.hashCode());result = prime * result + fofoId;result = prime * result + ((regionalManager == null) ? 0 : regionalManager.hashCode());result = prime * result + ((territoryManager == null) ? 0 : territoryManager.hashCode());return result;}@Overridepublic boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (getClass() != obj.getClass())return false;FofoReportingModel other = (FofoReportingModel) obj;if (businessName == null) {if (other.businessName != null)return false;} else if (!businessName.equals(other.businessName))return false;if (code == null) {if (other.code != null)return false;} else if (!code.equals(other.code))return false;if (fofoId != other.fofoId)return false;if (regionalManager == null) {if (other.regionalManager != null)return false;} else if (!regionalManager.equals(other.regionalManager))return false;if (territoryManager == null) {if (other.territoryManager != null)return false;} else if (!territoryManager.equals(other.territoryManager))return false;return true;}public int getFofoId() {return fofoId;}public void setFofoId(int fofoId) {this.fofoId = fofoId;}}