Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.model;

import java.util.Objects;

public class AuthUserPartnerMapModel {
    private int authId;
    private int fofoId;

    public AuthUserPartnerMapModel(int authId, int fofoId) {
        this.authId = authId;
        this.fofoId = fofoId;
    }

    public int getAuthId() {
        return authId;
    }

    public void setAuthId(int authId) {
        this.authId = authId;
    }

    public int getFofoId() {
        return fofoId;
    }

    public void setFofoId(int fofoId) {
        this.fofoId = fofoId;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        AuthUserPartnerMapModel that = (AuthUserPartnerMapModel) o;
        return authId == that.authId && fofoId == that.fofoId;
    }

    @Override
    public int hashCode() {
        return Objects.hash(authId, fofoId);
    }

    @Override
    public String toString() {
        return "AuthUserPartnerMapModel{" +
                "authId=" + authId +
                ", fofoId=" + fofoId +
                '}';
    }
}