# ErpWorkOrderLineRowMapper.java

    package com.mycim.server.erp.dao.mapper;

    import com.mycim.framework.jdbc.mapper.RowMapper;
    import com.mycim.server.erp.dto.ErpWorkOrderLineDto;

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

    public class ErpWorkOrderLineRowMapper implements RowMapper<ErpWorkOrderLineDto> {

        @Override
        public ErpWorkOrderLineDto mapRow(ResultSet rs, int rowNum) throws SQLException {
            ErpWorkOrderLineDto erpWorkOrderLineDto = new ErpWorkOrderLineDto();
            erpWorkOrderLineDto.setMandt(rs.getString("MANDT"));
            erpWorkOrderLineDto.setAufnr(rs.getString("AUFNR"));
            erpWorkOrderLineDto.setMatnr(rs.getString("MATNR"));
            erpWorkOrderLineDto.setMtart(rs.getString("MTART"));
            erpWorkOrderLineDto.setIdnrk(rs.getString("IDNRK"));
            erpWorkOrderLineDto.setBdmng(rs.getInt("BDMNG"));
            erpWorkOrderLineDto.setStatus(rs.getString("STATUS"));
            erpWorkOrderLineDto.setErdat(rs.getString("ERDAT"));
            erpWorkOrderLineDto.setErzet(rs.getString("ERZET"));

            return erpWorkOrderLineDto;
        }

    }