Class UserMapper

java.lang.Object
com.mt.ecommerce.product.mapper.UserMapper

public class UserMapper extends Object
Mapper class for converting between UserInfo entity and UserInfoBO model.
  • Constructor Details

    • UserMapper

      public UserMapper()
  • Method Details

    • mapDAO

      public UserInfo mapDAO(UserInfoBO userInfoBO)
      Maps a UserInfoBO object to a UserInfo entity.
      Parameters:
      userInfoBO - the UserInfoBO object to be mapped
      Returns:
      the mapped UserInfo entity
    • mapBO

      public UserInfoBO mapBO(UserInfo userInfo)
      Maps a UserInfo entity to a UserInfoBO object.
      Parameters:
      userInfo - the UserInfo entity to be mapped
      Returns:
      the mapped UserInfoBO object