com.lwohvye.tools.domain.vo.MailVo Maven / Gradle / Ivy
/*
* Copyright (c) 2021-2022. lWoHvYe(Hongyan Wang)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.lwohvye.tools.domain.vo;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.web.multipart.MultipartFile;
import java.util.Date;
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class MailVo {
private String id;
// 发送方
private String from;
// 接收方
private String to;
// 主题
private String subject;
// 正文
private String text;
// 发送时间
private Date sentDate;
private String cc;
private String bcc;
// 发送状态
private String status;
// 错误信息
private String error;
// 附件
@JsonIgnore
private MultipartFile[] multipartFiles;
}