Package com.skyline.user.model

Examples of com.skyline.user.model.Fan


  public static FanMapper getMapper() {
    return MAPPER;
  }

  public Fan mapRow(ResultSet rs, int rowNum) throws SQLException {
    Fan fan = new Fan();
    fan.setId(rs.getLong(COLUMN_ID));
    fan.setFanId(rs.getLong(COLUMN_FAN_ID));
    fan.setFanNickname(rs.getString(COLUMN_FAN_NICKNAME));
    fan.setFanPortrait(rs.getString(COLUMN_FAN_PORTRAIT));
    fan.setIdolId(rs.getLong(COLUMN_IDOL_ID));
    fan.setIdolNickname(rs.getString(COLUMN_IDOL_NICKNAME));
    fan.setIdolPortrait(rs.getString(COLUMN_IDOL_PORTRAIT));
    fan.setIdolType(IdolType.valueOf(rs.getString(COLUMN_IDOL_TYPE)));
    fan.setAttentionType(rs.getBoolean(COLUMN_ATTENTION_TYPE));
    fan.setActivity(Activity.valueOf(rs.getString(COLUMN_ACTIVITY)));
    fan.setCreateTime(rs.getTimestamp(COLUMN_CREATTIME));
    return fan;
  }
View Full Code Here

TOP

Related Classes of com.skyline.user.model.Fan

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.