保誠-保戶業務員媒合平台
wayne
2022-02-17 a3716f72066d25d745f4d5103ff23a553c3e102b
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
package com.pollex.pam.domain;
 
import java.io.Serializable;
import java.time.Instant;
import java.util.List;
 
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import javax.persistence.Table;
 
import com.pollex.pam.enums.AppointmentStatusEnum;
import com.pollex.pam.enums.ContactStatusEnum;
 
@Entity
@Table(name = "appointment_customer_view")
public class AppointmentCustomerView implements Serializable {
 
    /**
     *
     */
    private static final long serialVersionUID = 1L;
 
    @Column(name = "appointment_id")
    @Id
    private Long id;
 
    @Column(name = "phone")
    private String phone;
 
    @Column(name = "email")
    private String email;
 
    @Column(name = "contact_type")
    private String contactType;
 
    @Column(name = "gender")
    private String gender;
 
    @Column(name = "age")
    private String age;
 
    @Column(name = "job")
    private String job;
 
    @Column(name = "requirement")
    private String requirement;
 
    @Enumerated(EnumType.STRING)
    @Column(name = "communicate_status")
    private ContactStatusEnum communicateStatus;
 
    @Column(name = "hope_contact_time")
    private String hopeContactTime;
 
    @Column(name = "other_requirement")
    private String otherRequirement;
 
    @Column(name = "appointment_date")
    private Instant appointmentDate;
 
    @Column(name = "agent_no")
    private String agentNo;
 
    @Column(name = "customer_id")
    private Long customerId;
 
    @Column(name = "consultant_view_time")
    private Instant consultantViewTime;
 
    @Column(name = "consultant_read_time")
    private Instant consultantReadTime;
 
    @Column(name = "contact_time")
    private Instant contactTime;
 
    @Column(name = "last_modified_date")
    private Instant lastModifiedDate;
 
    @Column(name = "name")
    private String name;
 
    @Enumerated(value = EnumType.STRING)
    @Column(name = "status")
    private AppointmentStatusEnum status;
    
    @JoinColumn(name = "appointment_id")
    @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.REMOVE)
    private List<AppointmentMemo> appointmentMemoList;
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getPhone() {
        return phone;
    }
 
    public void setPhone(String phone) {
        this.phone = phone;
    }
 
    public String getEmail() {
        return email;
    }
 
    public void setEmail(String email) {
        this.email = email;
    }
 
    public String getContactType() {
        return contactType;
    }
 
    public void setContactType(String contactType) {
        this.contactType = contactType;
    }
 
    public String getGender() {
        return gender;
    }
 
    public void setGender(String gender) {
        this.gender = gender;
    }
 
    public String getAge() {
        return age;
    }
 
    public void setAge(String age) {
        this.age = age;
    }
 
    public String getJob() {
        return job;
    }
 
    public void setJob(String job) {
        this.job = job;
    }
 
    public String getRequirement() {
        return requirement;
    }
 
    public void setRequirement(String requirement) {
        this.requirement = requirement;
    }
 
    public ContactStatusEnum getCommunicateStatus() {
        return communicateStatus;
    }
 
    public void setCommunicateStatus(ContactStatusEnum communicateStatus) {
        this.communicateStatus = communicateStatus;
    }
 
    public String getHopeContactTime() {
        return hopeContactTime;
    }
 
    public void setHopeContactTime(String hopeContactTime) {
        this.hopeContactTime = hopeContactTime;
    }
 
    public String getOtherRequirement() {
        return otherRequirement;
    }
 
    public void setOtherRequirement(String otherRequirement) {
        this.otherRequirement = otherRequirement;
    }
 
    public Instant getAppointmentDate() {
        return appointmentDate;
    }
 
    public void setAppointmentDate(Instant appointmentDate) {
        this.appointmentDate = appointmentDate;
    }
 
    public String getAgentNo() {
        return agentNo;
    }
 
    public void setAgentNo(String agentNo) {
        this.agentNo = agentNo;
    }
 
    public Long getCustomerId() {
        return customerId;
    }
 
    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }
 
    public Instant getConsultantViewTime() {
        return consultantViewTime;
    }
 
    public void setConsultantViewTime(Instant consultantViewTime) {
        this.consultantViewTime = consultantViewTime;
    }
 
    public Instant getConsultantReadTime() {
        return consultantReadTime;
    }
 
    public void setConsultantReadTime(Instant consultantReadTime) {
        this.consultantReadTime = consultantReadTime;
    }
 
    public Instant getLastModifiedDate() {
        return lastModifiedDate;
    }
 
    public void setLastModifiedDate(Instant lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public Instant getContactTime() {
        return contactTime;
    }
 
    public void setContactTime(Instant markCommunicateTime) {
        this.contactTime = markCommunicateTime;
    }
    public AppointmentStatusEnum getStatus() {
        return status;
    }
 
    public void setStatus(AppointmentStatusEnum status) {
        this.status = status;
    }
 
    public List<AppointmentMemo> getAppointmentMemoList() {
        return appointmentMemoList;
    }
 
    public void setAppointmentMemoList(List<AppointmentMemo> appointmentMemoList) {
        this.appointmentMemoList = appointmentMemoList;
    }
    
    
}