Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33161 ranu 1
package com.spice.profitmandi.dao.model;
2
 
3
import java.util.Objects;
4
 
5
public class FofoRBMReportingModel {
6
 
7
    private String code;
8
    private int fofoId;
9
    private String businessName;
10
    private String L1Manager;
11
    private String L2Manager;
12
 
13
    public String getCode() {
14
        return code;
15
    }
16
 
17
    public void setCode(String code) {
18
        this.code = code;
19
    }
20
 
21
    public String getBusinessName() {
22
        return businessName;
23
    }
24
 
25
    public void setBusinessName(String businessName) {
26
        this.businessName = businessName;
27
    }
28
 
29
    public int getFofoId() {
30
        return fofoId;
31
    }
32
 
33
    public void setFofoId(int fofoId) {
34
        this.fofoId = fofoId;
35
    }
36
 
37
    public String getL1Manager() {
38
        return L1Manager;
39
    }
40
 
41
    public void setL1Manager(String l1Manager) {
42
        L1Manager = l1Manager;
43
    }
44
 
45
    public String getL2Manager() {
46
        return L2Manager;
47
    }
48
 
49
    public void setL2Manager(String l2Manager) {
50
        L2Manager = l2Manager;
51
    }
52
 
53
    @Override
54
    public boolean equals(Object o) {
55
        if (this == o) return true;
56
        if (o == null || getClass() != o.getClass()) return false;
57
        FofoRBMReportingModel that = (FofoRBMReportingModel) o;
58
        return fofoId == that.fofoId && Objects.equals(code, that.code) && Objects.equals(businessName, that.businessName) && Objects.equals(L1Manager, that.L1Manager) && Objects.equals(L2Manager, that.L2Manager);
59
    }
60
 
61
    @Override
62
    public int hashCode() {
63
        return Objects.hash(code, fofoId, businessName, L1Manager, L2Manager);
64
    }
65
 
66
    @Override
67
    public String
68
    toString() {
69
        return "FofoRBMReportingModel{" +
70
                "code='" + code + '\'' +
71
                ", fofoId=" + fofoId +
72
                ", businessName='" + businessName + '\'' +
73
                ", L1Manager='" + L1Manager + '\'' +
74
                ", L2Manager='" + L2Manager + '\'' +
75
                '}';
76
    }
77
}