保誠-保戶業務員媒合平台
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
package com.pollex.pam.config;
 
import com.pollex.pam.enums.SendEmailMsgMethod;
import org.springframework.boot.context.properties.ConfigurationProperties;
 
/**
 * Properties specific to Pamapi.
 * <p>
 * Properties are configured in the {@code application.yml} file.
 * See {@link tech.jhipster.config.JHipsterProperties} for a good example.
 */
@ConfigurationProperties(prefix = "application", ignoreUnknownFields = false)
public class ApplicationProperties {
 
    private boolean mockLogin;
    private String otpWebServiceUrl;
    private String otpWebServicePassword;
    private String otpWebServiceSystemType;
    private String eServiceLoginUrl;
    private String eServiceLoginFunc;
    private String eServiceLoginSys;
    private String frontEndDomain;
    private SMS sms;
    private Email email;
    private String fileFolderPath;
 
    public boolean isMockLogin() {
        return mockLogin;
    }
 
    public void setMockLogin(boolean mockLogin) {
        this.mockLogin = mockLogin;
    }
 
    public String getOtpWebServiceUrl() {
        return otpWebServiceUrl;
    }
 
    public void setOtpWebServiceUrl(String otpWebServiceUrl) {
        this.otpWebServiceUrl = otpWebServiceUrl;
    }
 
    public String getOtpWebServicePassword() {
        return otpWebServicePassword;
    }
 
    public void setOtpWebServicePassword(String otpWebServicePassword) {
        this.otpWebServicePassword = otpWebServicePassword;
    }
 
    public String getOtpWebServiceSystemType() {
        return otpWebServiceSystemType;
    }
 
    public void setOtpWebServiceSystemType(String otpWebServiceSystemType) {
        this.otpWebServiceSystemType = otpWebServiceSystemType;
    }
 
    public String geteServiceLoginUrl() {
        return eServiceLoginUrl;
    }
 
    public void seteServiceLoginUrl(String eServiceLoginUrl) {
        this.eServiceLoginUrl = eServiceLoginUrl;
    }
 
    public String geteServiceLoginFunc() {
        return eServiceLoginFunc;
    }
 
    public void seteServiceLoginFunc(String eServiceLoginFunc) {
        this.eServiceLoginFunc = eServiceLoginFunc;
    }
 
    public String geteServiceLoginSys() {
        return eServiceLoginSys;
    }
 
    public void seteServiceLoginSys(String eServiceLoginSys) {
        this.eServiceLoginSys = eServiceLoginSys;
    }
 
    public String getFrontEndDomain() {
        return frontEndDomain;
    }
 
    public void setFrontEndDomain(String frontEndDomain) {
        this.frontEndDomain = frontEndDomain;
    }
 
    public SMS getSms() {
        return sms;
    }
 
    public void setSms(SMS sms) {
        this.sms = sms;
    }
 
    public Email getEmail() {
        return email;
    }
 
    public void setEmail(Email email) {
        this.email = email;
    }
 
    public static class SMS {
        private String url;
        private String sourceCode;
        private String sender;
        private String smsType;
        private String subject;
        private boolean sendNotifyMsg;
 
        public String getUrl() {
            return url;
        }
 
        public void setUrl(String url) {
            this.url = url;
        }
 
        public String getSourceCode() {
            return sourceCode;
        }
 
        public void setSourceCode(String sourceCode) {
            this.sourceCode = sourceCode;
        }
 
        public String getSender() {
            return sender;
        }
 
        public void setSender(String sender) {
            this.sender = sender;
        }
 
        public String getSmsType() {
            return smsType;
        }
 
        public void setSmsType(String smsType) {
            this.smsType = smsType;
        }
 
        public String getSubject() {
            return subject;
        }
 
        public void setSubject(String subject) {
            this.subject = subject;
        }
 
        public boolean isSendNotifyMsg() {
            return sendNotifyMsg;
        }
 
        public void setSendNotifyMsg(boolean sendNotifyMsg) {
            this.sendNotifyMsg = sendNotifyMsg;
        }
    }
 
    public static class Email {
        private String url;
        private String functionId;
        private String senderEmail;
        private boolean sendNotifyMsg;
        private SendEmailMsgMethod method;
 
        public String getUrl() {
            return url;
        }
 
        public void setUrl(String url) {
            this.url = url;
        }
 
        public String getFunctionId() {
            return functionId;
        }
 
        public void setFunctionId(String functionId) {
            this.functionId = functionId;
        }
 
        public String getSenderEmail() {
            return senderEmail;
        }
 
        public void setSenderEmail(String senderEmail) {
            this.senderEmail = senderEmail;
        }
 
        public boolean isSendNotifyMsg() {
            return sendNotifyMsg;
        }
 
        public void setSendNotifyMsg(boolean sendNotifyMsg) {
            this.sendNotifyMsg = sendNotifyMsg;
        }
 
        public SendEmailMsgMethod getMethod() {
            return method;
        }
 
        public void setMethod(SendEmailMsgMethod method) {
            this.method = method;
        }
    }
    public String getFileFolderPath() {
        return fileFolderPath;
    }
 
    public void setFileFolderPath(String fileFolderPath) {
        this.fileFolderPath = fileFolderPath;
    }
 
}