| | |
| | | package com.pollex.pam.config; |
| | | |
| | | import com.pollex.pam.enums.SendEmailMsgMethod; |
| | | import org.springframework.boot.context.properties.ConfigurationProperties; |
| | | |
| | | /** |
| | |
| | | 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 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; |
| | | } |
| | | |
| | | } |