保誠-保戶業務員媒合平台
wayne
2022-01-26 6fa4bba623713c396432ba8b863846883d6a1906
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
package com.pollex.pam.domain;
 
import com.pollex.pam.enums.GenderEnum;
 
import javax.persistence.*;
import java.io.Serializable;
 
@Entity
@Table(name = "consultant")
public class Consultant extends AbstractAuditingEntity implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sequenceGenerator")
    @SequenceGenerator(name = "sequenceGenerator")
    private Long id;
 
    @Column(name = "agent_no", unique = true)
    private String agentNo;
 
    @Column(name = "name")
    private String name;
 
    @Column(name = "photo_path")
    private String photoPath;
 
    @Column(name = "expertise")
    private String expertise;
 
    @Column(name = "avg_score")
    private Float avgScore;
 
    @Column(name = "title")
    private String title;
 
    @Column(name = "role")
    private String role;
 
    @Column(name = "serve_area")
    private String serveArea;
 
    @Enumerated(value = EnumType.STRING)
    @Column(name = "gender")
    private GenderEnum gender;
 
    @Column(name = "phone_number")
    private String phoneNumber;
 
    @Column(name = "company_address")
    private String companyAddress;
 
    @Column(name = "seniority_year")
    private Long seniorityYear;
 
    @Column(name = "seniority_month")
    private Long seniorityMonth;
 
    @Column(name = "concept")
    private String concept;
 
    @Column(name = "experience")
    private String experience;
 
    @Column(name = "award")
    private String award;
 
    @Column(name = "recommend")
    private Boolean recommend;
 
    @Column(name = "communication_style")
    private String communicationStyle;
 
    @Column(name = "email")
    private String email;
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getAgentNo() {
        return agentNo;
    }
 
    public void setAgentNo(String agentNo) {
        this.agentNo = agentNo;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getPhotoPath() {
        return photoPath;
    }
 
    public void setPhotoPath(String photoPath) {
        this.photoPath = photoPath;
    }
 
    public String getExpertise() {
        return expertise;
    }
 
    public void setExpertise(String expertise) {
        this.expertise = expertise;
    }
 
    public Float getAvgScore() {
        return avgScore;
    }
 
    public void setAvgScore(Float avgScore) {
        this.avgScore = avgScore;
    }
 
    public String getTitle() {
        return title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public String getRole() {
        return role;
    }
 
    public void setRole(String role) {
        this.role = role;
    }
 
    public String getServeArea() {
        return serveArea;
    }
 
    public void setServeArea(String serveArea) {
        this.serveArea = serveArea;
    }
 
    public GenderEnum getGender() {
        return gender;
    }
 
    public void setGender(GenderEnum gender) {
        this.gender = gender;
    }
 
    public String getPhoneNumber() {
        return phoneNumber;
    }
 
    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
 
    public String getCompanyAddress() {
        return companyAddress;
    }
 
    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }
 
    public Long getSeniorityYear() {
        return seniorityYear;
    }
 
    public void setSeniorityYear(Long seniorityYear) {
        this.seniorityYear = seniorityYear;
    }
 
    public Long getSeniorityMonth() {
        return seniorityMonth;
    }
 
    public void setSeniorityMonth(Long seniorityMonth) {
        this.seniorityMonth = seniorityMonth;
    }
 
    public String getSeniorityDTOString() {
        final String seniorityYearString = this.seniorityYear != 0 ? this.seniorityYear + " 年 " : "";
        final String seniorityMonthString = this.seniorityMonth != 0 ? this.seniorityMonth + " 月" : "";
 
        return seniorityYearString + seniorityMonthString;
    }
 
    public String getConcept() {
        return concept;
    }
 
    public void setConcept(String concept) {
        this.concept = concept;
    }
 
    public String getExperience() {
        return experience;
    }
 
    public void setExperience(String experience) {
        this.experience = experience;
    }
 
    public String getAward() {
        return award;
    }
 
    public void setAward(String award) {
        this.award = award;
    }
 
    public Boolean getRecommend() {
        return recommend;
    }
 
    public void setRecommend(Boolean recommend) {
        this.recommend = recommend;
    }
 
    public String getCommunicationStyle() {
        return communicationStyle;
    }
 
    public void setCommunicationStyle(String communicationStyle) {
        this.communicationStyle = communicationStyle;
    }
 
    public String getEmail() {
        return email;
    }
 
    public void setEmail(String email) {
        this.email = email;
    }
 
    @Override
    public String toString() {
        return "Consultant{" +
            "id=" + id +
            ", agentNo='" + agentNo + '\'' +
            ", name='" + name + '\'' +
            ", photoPath='" + photoPath + '\'' +
            ", expertise='" + expertise + '\'' +
            ", avgScore=" + avgScore +
            ", title='" + title + '\'' +
            ", role='" + role + '\'' +
            ", serveArea='" + serveArea + '\'' +
            ", gender=" + gender +
            ", phoneNumber='" + phoneNumber + '\'' +
            ", companyAddress='" + companyAddress + '\'' +
            ", seniorityYear=" + seniorityYear +
            ", seniorityMonth=" + seniorityMonth +
            ", concept='" + concept + '\'' +
            ", experience='" + experience + '\'' +
            ", award='" + award + '\'' +
            ", recommend=" + recommend +
            ", communicationStyle='" + communicationStyle + '\'' +
            ", email='" + email + '\'' +
            '}';
    }
}