Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
34082 ranu 1
package com.spice.profitmandi.dao.model;
2
 
3
import java.util.Objects;
4
 
5
public class AuthUserPartnerMapModel {
6
    private int authId;
7
    private int fofoId;
8
 
9
    public AuthUserPartnerMapModel(int authId, int fofoId) {
10
        this.authId = authId;
11
        this.fofoId = fofoId;
12
    }
13
 
14
    public int getAuthId() {
15
        return authId;
16
    }
17
 
18
    public void setAuthId(int authId) {
19
        this.authId = authId;
20
    }
21
 
22
    public int getFofoId() {
23
        return fofoId;
24
    }
25
 
26
    public void setFofoId(int fofoId) {
27
        this.fofoId = fofoId;
28
    }
29
 
30
    @Override
31
    public boolean equals(Object o) {
32
        if (this == o) return true;
33
        if (o == null || getClass() != o.getClass()) return false;
34
        AuthUserPartnerMapModel that = (AuthUserPartnerMapModel) o;
35
        return authId == that.authId && fofoId == that.fofoId;
36
    }
37
 
38
    @Override
39
    public int hashCode() {
40
        return Objects.hash(authId, fofoId);
41
    }
42
 
43
    @Override
44
    public String toString() {
45
        return "AuthUserPartnerMapModel{" +
46
                "authId=" + authId +
47
                ", fofoId=" + fofoId +
48
                '}';
49
    }
50
}