diff --git a/src/main/java/com/loafle/overflow/core/model/Mail.java b/src/main/java/com/loafle/overflow/core/model/Mail.java index b05f6c2..b616507 100644 --- a/src/main/java/com/loafle/overflow/core/model/Mail.java +++ b/src/main/java/com/loafle/overflow/core/model/Mail.java @@ -9,22 +9,16 @@ import java.util.Map; */ public class Mail { private String mailFrom; - private String mailTo; - private String mailCc; - private String mailBcc; - private String mailSubject; - private String mailContent; - private String contentType; - private List< Object > attachments; - private Map< String, Object > model; + private String templateLoacation; + public Mail() { contentType = "text/plain"; @@ -105,4 +99,12 @@ public class Mail { public void setModel(Map < String, Object > model) { this.model = model; } + + public String getTemplateLoacation() { + return templateLoacation; + } + + public void setTemplateLoacation(String templateLoacation) { + this.templateLoacation = templateLoacation; + } }