| | |
| | | package com.pollex.pam.config; |
| | | |
| | | import com.pollex.pam.enums.SendEmailMsgMethod; |
| | | import org.springframework.boot.context.properties.ConfigurationProperties; |
| | | |
| | | /** |
| | |
| | | private String eServiceLoginFunc; |
| | | private String eServiceLoginSys; |
| | | private String frontEndDomain; |
| | | private boolean sendNotifyMsg; |
| | | private SMS sms; |
| | | private Email email; |
| | | private String fileFolderPath; |
| | |
| | | this.frontEndDomain = frontEndDomain; |
| | | } |
| | | |
| | | public boolean isSendNotifyMsg() { |
| | | return sendNotifyMsg; |
| | | } |
| | | |
| | | public void setSendNotifyMsg(boolean sendNotifyMsg) { |
| | | this.sendNotifyMsg = sendNotifyMsg; |
| | | } |
| | | |
| | | public SMS getSms() { |
| | | return sms; |
| | | } |
| | |
| | | private String sender; |
| | | private String smsType; |
| | | private String subject; |
| | | private boolean sendNotifyMsg; |
| | | |
| | | public String getUrl() { |
| | | return url; |
| | |
| | | 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 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; |