package com.casic.missiles.dto.system;

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

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

/**
 * @Description: 通知公告已读请求实体
 * @Author: wangpeng
 * @Date: 2023/3/7 14:32
 */
@ApiModel
@Data
public class NoticeReadRequest {

    @NotNull(message = "登录用户id不能为空")
    @ApiModelProperty(value = "登录用户id", dataType = "Long")
    private Long userId;

    @NotEmpty(message = "主键id列表不能为空")
    @ApiModelProperty(value = "主键id列表", dataType = "List")
    private List<Long> ids;

}
