Search in sources :

Example 21 with User

use of com.code.server.db.model.User in project summer by foxsugar.

the class GameUserService method userBean2User.

public static User userBean2User(UserBean userBean) {
    User user = new User();
    BeanUtils.copyProperties(userBean, user);
    return user;
}
Also used : User(com.code.server.db.model.User)

Aggregations

User (com.code.server.db.model.User)21 UserBean (com.code.server.constant.game.UserBean)12 UserService (com.code.server.db.Service.UserService)9 ResponseVo (com.code.server.constant.response.ResponseVo)5 Charge (com.code.server.db.model.Charge)5 Date (java.util.Date)4 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)3 ChargeService (com.code.server.db.Service.ChargeService)2 UserRedisService (com.code.server.redis.service.UserRedisService)2 com.code.server.rpc.idl (com.code.server.rpc.idl)2 NoSuchAlgorithmException (java.security.NoSuchAlgorithmException)2 HashMap (java.util.HashMap)2 ServerConfig (com.code.server.login.config.ServerConfig)1 IdWorker (com.code.server.util.IdWorker)1 IOException (java.io.IOException)1 HashSet (java.util.HashSet)1 Transactional (javax.transaction.Transactional)1 Element (org.dom4j.Element)1