Subversion Repositories SmartDukaan

Rev

Rev 21561 | Rev 22111 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.web.model;

public class FofoDetails {
        private int fofoId;
        private String emailId;
        public int getFofoId() {
                return fofoId;
        }
        public void setFofoId(int fofoId) {
                this.fofoId = fofoId;
        }
        public String getEmailId() {
                return emailId;
        }
        public void setEmailId(String emailId) {
                this.emailId = emailId;
        }
        @Override
        public int hashCode() {
                final int prime = 31;
                int result = 1;
                result = prime * result + ((emailId == null) ? 0 : emailId.hashCode());
                result = prime * result + fofoId;
                return result;
        }
        @Override
        public boolean equals(Object obj) {
                if (this == obj)
                        return true;
                if (obj == null)
                        return false;
                if (getClass() != obj.getClass())
                        return false;
                FofoDetails other = (FofoDetails) obj;
                if (emailId == null) {
                        if (other.emailId != null)
                                return false;
                } else if (!emailId.equals(other.emailId))
                        return false;
                if (fofoId != other.fofoId)
                        return false;
                return true;
        }
        @Override
        public String toString() {
                return "FofoDetails [fofoId=" + fofoId + ", emailId=" + emailId + "]";
        }
        
        
}