|
@@ -0,0 +1,101 @@
|
|
|
+package com.fjhx.vo;
|
|
|
+
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+@Data
|
|
|
+public class SubmitVo {
|
|
|
+
|
|
|
+ // private ReferenceDTO reference;
|
|
|
+
|
|
|
+ // private EnvelopeDTO envelope;
|
|
|
+
|
|
|
+ private ToDTO from;
|
|
|
+
|
|
|
+ private List<ToDTO> replyTo;
|
|
|
+
|
|
|
+ private List<ToDTO> to;
|
|
|
+
|
|
|
+ private List<ToDTO> cc;
|
|
|
+
|
|
|
+ private List<ToDTO> bcc;
|
|
|
+
|
|
|
+ // private String raw;
|
|
|
+
|
|
|
+ private String subject;
|
|
|
+
|
|
|
+ // private String text;
|
|
|
+
|
|
|
+ private String html;
|
|
|
+
|
|
|
+ // private String previewText;
|
|
|
+
|
|
|
+ // private String template;
|
|
|
+
|
|
|
+ // private RenderDTO render;
|
|
|
+
|
|
|
+ private List<AttachmentsDTO> attachments;
|
|
|
+
|
|
|
+ // private String messageId;
|
|
|
+ //
|
|
|
+ // private Boolean trackingEnabled;
|
|
|
+ //
|
|
|
+ // private Object copy;
|
|
|
+ //
|
|
|
+ // private String sentMailPath;
|
|
|
+ //
|
|
|
+ // private String locale;
|
|
|
+ //
|
|
|
+ // private String tz;
|
|
|
+ //
|
|
|
+ // private String sendAt;
|
|
|
+ //
|
|
|
+ // private Integer deliveryAttempts;
|
|
|
+ //
|
|
|
+ // private String gateway;
|
|
|
+ //
|
|
|
+ // private String listId;
|
|
|
+ //
|
|
|
+ // private Boolean dryRun;
|
|
|
+
|
|
|
+ // @Data
|
|
|
+ // public static class ReferenceDTO {
|
|
|
+ //
|
|
|
+ // private String message;
|
|
|
+ //
|
|
|
+ // private String action;
|
|
|
+ //
|
|
|
+ // private Boolean inline;
|
|
|
+ //
|
|
|
+ // private Boolean forwardAttachments;
|
|
|
+ //
|
|
|
+ // private Boolean ignoreMissing;
|
|
|
+ //
|
|
|
+ // private Boolean documentStore;
|
|
|
+ // }
|
|
|
+
|
|
|
+ @Data
|
|
|
+ public static class ToDTO {
|
|
|
+ private String name;
|
|
|
+ private String address;
|
|
|
+ }
|
|
|
+
|
|
|
+ // @Data
|
|
|
+ // public static class RenderDTO {
|
|
|
+ // private String format;
|
|
|
+ //
|
|
|
+ // }
|
|
|
+
|
|
|
+ @Data
|
|
|
+ public static class AttachmentsDTO {
|
|
|
+
|
|
|
+ private String filename;
|
|
|
+
|
|
|
+ private String contentType;
|
|
|
+
|
|
|
+ private String content;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+}
|