package com.jkcredit.invoice.hub.model.dto.rolePermission;

import lombok.Data;

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

/**
 * @description:
 * @author: xusonglin
 * @create: 2020/1/14 22:39
 * @version: V1.0
 **/
@Data
public class RolePermissionDto implements Serializable {
    private static final long serialVersionUID = 8767625048565680322L;
    @NotNull(message = "roleId不能为空")
    private Long roleId;
    @NotNull(message = "permissionIds不能为空")
    private List<Long> permissionIds;
}
