package com.fjhx.mail.entity.message.dto;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

@Getter
@Setter
public class DeleteMailDto {

    /**
     * 1个人邮箱 2企业邮箱
     */
    @NotNull(message = "类型不能未空")
    private Integer type;

    @NotNull(message = "邮件id不能为空")
    private Long id;

}
