nili
1 year ago
4 changed files with 33 additions and 5 deletions
@ -0,0 +1,17 @@ |
|||||
|
package awesome.group.game.service.bo; |
||||
|
|
||||
|
import awesome.group.game.dao.bean.WeGameUser; |
||||
|
import lombok.Data; |
||||
|
import org.springframework.beans.BeanUtils; |
||||
|
|
||||
|
@Data |
||||
|
public class CurrentUser extends UserInfo{ |
||||
|
public String openId; |
||||
|
|
||||
|
public CurrentUser() { |
||||
|
} |
||||
|
|
||||
|
public CurrentUser(WeGameUser user) { |
||||
|
BeanUtils.copyProperties(user, this); |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue