We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d946e1d commit 4dd6bb7Copy full SHA for 4dd6bb7
1 file changed
src/main/java/io/github/talelin/latticy/vo/UserInfoVO.java
@@ -1,6 +1,7 @@
1
package io.github.talelin.latticy.vo;
2
3
import cn.hutool.core.bean.BeanUtil;
4
+import io.github.talelin.latticy.model.GroupDO;
5
import io.github.talelin.latticy.model.UserDO;
6
import lombok.AllArgsConstructor;
7
import lombok.Builder;
@@ -45,9 +46,9 @@ public class UserInfoVO {
45
46
/**
47
* 分组
48
*/
- private List groups;
49
+ private List<GroupDO> groups;
50
- public UserInfoVO(UserDO user, List groups) {
51
+ public UserInfoVO(UserDO user, List<GroupDO> groups) {
52
BeanUtil.copyProperties(user, this);
53
this.groups = groups;
54
}
0 commit comments