From ae4db5435180c44b37f521c463b17f2023ac1d8c Mon Sep 17 00:00:00 2001
From: wayne <wayne8692wayne8692@gmail.com>
Date: 星期五, 18 二月 2022 09:25:50 +0800
Subject: [PATCH] [update] 若顧問停用時,將無法登入 (文案待確認)

---
 pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java |   55 ++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 46 insertions(+), 9 deletions(-)

diff --git a/pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java b/pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java
index fc204ce..60b33ca 100644
--- a/pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java
+++ b/pamapi/src/main/java/com/pollex/pam/config/ApplicationProperties.java
@@ -1,5 +1,6 @@
 package com.pollex.pam.config;
 
+import com.pollex.pam.enums.SendEmailMsgMethod;
 import org.springframework.boot.context.properties.ConfigurationProperties;
 
 /**
@@ -19,9 +20,9 @@
     private String eServiceLoginFunc;
     private String eServiceLoginSys;
     private String frontEndDomain;
-    private boolean sendNotifyMsg;
     private SMS sms;
     private Email email;
+    private String fileFolderPath;
 
     public boolean isMockLogin() {
         return mockLogin;
@@ -87,14 +88,6 @@
         this.frontEndDomain = frontEndDomain;
     }
 
-    public boolean isSendNotifyMsg() {
-        return sendNotifyMsg;
-    }
-
-    public void setSendNotifyMsg(boolean sendNotifyMsg) {
-        this.sendNotifyMsg = sendNotifyMsg;
-    }
-
     public SMS getSms() {
         return sms;
     }
@@ -116,6 +109,8 @@
         private String sourceCode;
         private String sender;
         private String smsType;
+        private String subject;
+        private boolean sendNotifyMsg;
 
         public String getUrl() {
             return url;
@@ -148,12 +143,30 @@
         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;
@@ -178,5 +191,29 @@
         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;
+	}
+
 }

--
Gitblit v1.8.0