package com.njcn.user.pojo.param;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author xy
 */
@Data
public class RoleSystemParam implements Serializable {

    @ApiModelProperty("角色id")
    @NotBlank(message = "角色id不能为空")
    private String roleId;

    @ApiModelProperty("系统id")
    @NotNull(message = "系统id不能为空")
    private List<String> systemIds;
}
