package cn.datax.service.email.api.entity;

import cn.datax.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.File;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class EmailEntity extends BaseEntity {

    /**
     * 标题
     */
    private String subject;
    /**
     * 内容
     */
    private String text;
    /**
     * 接收人
     */
    private List<String> tos;
    /**
     * 抄送人
     */
    private List<String> ccs;
    /**
     * 密送人
     */
    private List<String> bccs;
    /**
     * 附件
     */
    private List<File> files;

}
