package com.kcim.dao.model.dto;

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

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

@Data
@ApiModel("角色菜单绑定关系")
public class RoleMenuDTO {

    @NotNull(message = "角色id不能为空")
    @ApiModelProperty(name = "roleId",value = "角色id")
    private Long roleId;

    private List<Long> menuIds;



}
