/**
   * Convert User DTO to UserPO object
   *
   * @param dto - User DTO object
   * @return - UserPO object
   */
  public static final UserPO convert(User dto) {
    if (dto == null) {
      return null;
    }

    UserPO po = new UserPO();
    po.setUserId(dto.getUserId());
    po.setUserName(dto.getUserName());
    po.setPassword(dto.getPassword());
    po.setStatus(dto.getStatus());
    // po.setSalt(dto.getSalt());
    po.setLocationDesc(dto.getLocationDesc());

    return po;
  }
  /**
   * Convert UserPO to User DTO object.
   *
   * @param po - User PO object
   * @return - User DTO Object
   */
  public static final User convert(UserPO po) {
    if (po == null) {
      return null;
    }

    User dto = new User();
    dto.setUserId(po.getUserId());
    dto.setUserName(po.getUserName());
    dto.setStatus(po.getStatus());
    dto.setLocationDesc(po.getLocationDesc());
    dto.setLastPostTime(po.getLastPostTime());
    dto.setPassword(po.getPassword());
    return dto;
  }