Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

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