mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-03-30 07:43:44 +08:00
init
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package com.zl.mjga.dto.role;
|
||||
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import java.util.List;
|
||||
|
||||
public record RoleBindDto(
|
||||
@NotNull(message = "用户不能为空") Long userId, @NotEmpty(message = "角色不能为空") List<Long> roleIds) {}
|
||||
Reference in New Issue
Block a user