Subversion Repositories SmartDukaan

Rev

Rev 35921 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35921 Rev 35927
Line 1... Line 1...
1
package com.spice.profitmandi.web.res;
1
package com.spice.profitmandi.web.res;
2
 
2
 
3
public class SupportTeamResponse {
3
import java.util.List;
4
 
4
 
5
    private PersonDetail abm;
-
 
6
    private PersonDetail bm;
-
 
7
    private PersonDetail rbm;
-
 
8
    private PersonDetail rbmManager;
5
public class SupportTeamResponse {
9
    private PersonDetail brandingManager;
-
 
10
    private PersonDetail grievanceManager;
-
 
11
    private PersonDetail affordabilityOperations;
-
 
12
 
6
 
13
    public PersonDetail getAbm() {
7
    private String title;
14
        return abm;
8
    private List<ContactDetail> contacts;
15
    }
-
 
16
 
9
 
17
    public void setAbm(PersonDetail abm) {
10
    public SupportTeamResponse() {
18
        this.abm = abm;
-
 
19
    }
11
    }
20
 
12
 
21
    public PersonDetail getBm() {
13
    public SupportTeamResponse(String title, List<ContactDetail> contacts) {
22
        return bm;
14
        this.title = title;
-
 
15
        this.contacts = contacts;
23
    }
16
    }
24
 
17
 
25
    public void setBm(PersonDetail bm) {
18
    public String getTitle() {
26
        this.bm = bm;
19
        return title;
27
    }
20
    }
28
 
21
 
29
    public PersonDetail getRbm() {
22
    public void setTitle(String title) {
30
        return rbm;
23
        this.title = title;
31
    }
24
    }
32
 
25
 
33
    public void setRbm(PersonDetail rbm) {
26
    public List<ContactDetail> getContacts() {
34
        this.rbm = rbm;
27
        return contacts;
35
    }
28
    }
36
 
29
 
37
    public PersonDetail getRbmManager() {
30
    public void setContacts(List<ContactDetail> contacts) {
38
        return rbmManager;
31
        this.contacts = contacts;
39
    }
32
    }
40
 
33
 
41
    public void setRbmManager(PersonDetail rbmManager) {
-
 
42
        this.rbmManager = rbmManager;
-
 
43
    }
-
 
44
 
-
 
45
    public static class PersonDetail {
34
    public static class ContactDetail {
46
        private int authUserId;
35
        private int id;
47
        private String name;
36
        private String name;
48
        private String email;
37
        private String initials;
49
        private String mobile;
38
        private String role;
-
 
39
        private String badge;
-
 
40
        private String badgeColor;
50
        private String description;
41
        private String description;
-
 
42
        private String phone;
-
 
43
        private String whatsapp;
-
 
44
        private String email;
-
 
45
        private boolean showCall;
-
 
46
        private boolean showMessage;
-
 
47
        private boolean showCallback;
-
 
48
        private boolean expanded;
51
 
49
 
52
        public PersonDetail() {
50
        public int getId() {
-
 
51
            return id;
53
        }
52
        }
54
 
53
 
55
        public PersonDetail(int authUserId, String name, String email, String mobile, String description) {
54
        public void setId(int id) {
56
            this.authUserId = authUserId;
55
            this.id = id;
-
 
56
        }
-
 
57
 
-
 
58
        public String getName() {
-
 
59
            return name;
-
 
60
        }
-
 
61
 
-
 
62
        public void setName(String name) {
57
            this.name = name;
63
            this.name = name;
58
            this.email = email;
-
 
59
            this.mobile = mobile;
-
 
60
            this.description = description;
-
 
61
        }
64
        }
62
 
65
 
63
        public int getAuthUserId() {
66
        public String getInitials() {
64
            return authUserId;
67
            return initials;
65
        }
68
        }
66
 
69
 
67
        public void setAuthUserId(int authUserId) {
70
        public void setInitials(String initials) {
68
            this.authUserId = authUserId;
71
            this.initials = initials;
69
        }
72
        }
70
 
73
 
71
        public String getName() {
74
        public String getRole() {
72
            return name;
75
            return role;
73
        }
76
        }
74
 
77
 
75
        public void setName(String name) {
78
        public void setRole(String role) {
76
            this.name = name;
79
            this.role = role;
77
        }
80
        }
78
 
81
 
79
        public String getEmail() {
82
        public String getBadge() {
80
            return email;
83
            return badge;
81
        }
84
        }
82
 
85
 
83
        public void setEmail(String email) {
86
        public void setBadge(String badge) {
84
            this.email = email;
87
            this.badge = badge;
85
        }
88
        }
86
 
89
 
87
        public String getMobile() {
90
        public String getBadgeColor() {
88
            return mobile;
91
            return badgeColor;
89
        }
92
        }
90
 
93
 
91
        public void setMobile(String mobile) {
94
        public void setBadgeColor(String badgeColor) {
92
            this.mobile = mobile;
95
            this.badgeColor = badgeColor;
93
        }
96
        }
94
 
97
 
95
        public String getDescription() {
98
        public String getDescription() {
96
            return description;
99
            return description;
97
        }
100
        }
98
 
101
 
99
        public void setDescription(String description) {
102
        public void setDescription(String description) {
100
            this.description = description;
103
            this.description = description;
101
        }
104
        }
102
    }
-
 
103
 
105
 
104
    public PersonDetail getBrandingManager() {
106
        public String getPhone() {
105
        return brandingManager;
107
            return phone;
106
    }
108
        }
107
 
109
 
108
    public void setBrandingManager(PersonDetail brandingManager) {
110
        public void setPhone(String phone) {
109
        this.brandingManager = brandingManager;
111
            this.phone = phone;
110
    }
112
        }
111
 
113
 
112
    public PersonDetail getGrievanceManager() {
114
        public String getWhatsapp() {
113
        return grievanceManager;
115
            return whatsapp;
114
    }
116
        }
115
 
117
 
116
    public void setGrievanceManager(PersonDetail grievanceManager) {
118
        public void setWhatsapp(String whatsapp) {
117
        this.grievanceManager = grievanceManager;
119
            this.whatsapp = whatsapp;
118
    }
120
        }
119
 
121
 
-
 
122
        public String getEmail() {
-
 
123
            return email;
-
 
124
        }
-
 
125
 
-
 
126
        public void setEmail(String email) {
-
 
127
            this.email = email;
-
 
128
        }
-
 
129
 
-
 
130
        public boolean isShowCall() {
-
 
131
            return showCall;
-
 
132
        }
-
 
133
 
120
    public PersonDetail getAffordabilityOperations() {
134
        public void setShowCall(boolean showCall) {
-
 
135
            this.showCall = showCall;
-
 
136
        }
-
 
137
 
121
        return affordabilityOperations;
138
        public boolean isShowMessage() {
-
 
139
            return showMessage;
-
 
140
        }
-
 
141
 
-
 
142
        public void setShowMessage(boolean showMessage) {
-
 
143
            this.showMessage = showMessage;
122
    }
144
        }
123
 
145
 
-
 
146
        public boolean isShowCallback() {
-
 
147
            return showCallback;
-
 
148
        }
-
 
149
 
124
    public void setAffordabilityOperations(PersonDetail affordabilityOperations) {
150
        public void setShowCallback(boolean showCallback) {
125
        this.affordabilityOperations = affordabilityOperations;
151
            this.showCallback = showCallback;
-
 
152
        }
-
 
153
 
-
 
154
        public boolean isExpanded() {
-
 
155
            return expanded;
-
 
156
        }
-
 
157
 
-
 
158
        public void setExpanded(boolean expanded) {
-
 
159
            this.expanded = expanded;
-
 
160
        }
126
    }
161
    }
127
 
162
 
128
    @Override
163
    @Override
129
    public String toString() {
164
    public String toString() {
130
        return "SupportTeamResponse{" +
165
        return "SupportTeamResponse{" +
131
                "abm=" + abm +
-
 
132
                ", bm=" + bm +
-
 
133
                ", rbm=" + rbm +
166
                "title='" + title + '\'' +
134
                ", rbmManager=" + rbmManager +
167
                ", contacts=" + contacts +
135
                ", brandingManager=" + brandingManager +
-
 
136
                ", grievanceManager=" + grievanceManager +
-
 
137
                ", affordabilityOperations=" + affordabilityOperations +
-
 
138
                '}';
168
                '}';
139
    }
169
    }
140
}
170
}