package com.ruoyi.controller.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author liwenlong
 * @date 2023/4/11 10:07
 */
@Data
public class AppMessageReadOrDeleteReq {

    @NotNull(message = "类型不能为空")
    @ApiModelProperty(value = "1 标记已读 2 删除消息")
    private Integer type;

    @NotNull(message = "系统消息id不能为空")
    @ApiModelProperty(value = "系统消息id 集合 为空删除全部")
    private List<Long> ids;
}
