package com.score.template;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

public class ScoreRowMapper implements RowMapper<ScoreVO>{

	@Override
	public ScoreVO mapRow(ResultSet rs, int rowNum) throws SQLException {
		return new ScoreVO(rs.getString("NO"), rs.getString("NAME"), rs.getInt("KOR"), rs.getInt("ENG"), rs.getInt("MAT"), rs.getInt("TOT"), rs.getDouble("AVG"), rs.getString("LOGTIME"));
	}
	
	
}