package com.chushang.system.entity.bo;

import lombok.Data;

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

/**
 * @author by zhaowenyuan create 2022/8/22 14:04
 * 用户授权
 */
@Data
public class RoleUser {

    @NotNull(message = "role ids is null")
    private Collection<Long> roleIds;

    @NotNull(message = "user id is null")
    private Long userId;

}
