// Path: src/main/java/br/com/tecsinapse/dataio/converter/IntegerTableCellConverter.java
// public class IntegerTableCellConverter implements FromNumberConverter<Integer> {
// 
//     @Override
//     public Integer apply(BigDecimal input) {
//         return input.intValue();
//     }
// 
//     @Override
//     public Integer apply(String input) {
//         return Strings.isNullOrEmpty(input) ? null : Integer.valueOf(input);
//     }
// 
// }


import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
import br.com.tecsinapse.dataio.annotation.TableCellMapping;
import br.com.tecsinapse.dataio.converter.IntegerTableCellConverter;
package br.com.tecsinapse.datasources;



@Getter
@NoArgsConstructor
@EqualsAndHashCode(of = {"col1", "col2", "col3"})
@ToString(of = {"col1", "col2", "col3"})
public class ThreeColumnValue {
    private Integer col1;
    private Integer col2;
    private Integer col3;

    public ThreeColumnValue(Integer col1, Integer col2, Integer col3) {
        this.col1 = col1;
        this.col2 = col2;
        this.col3 = col3;
    }

// Path: src/main/java/br/com/tecsinapse/dataio/converter/IntegerTableCellConverter.java
// public class IntegerTableCellConverter implements FromNumberConverter<Integer> {
// 
//     @Override
//     public Integer apply(BigDecimal input) {
//         return input.intValue();
//     }
// 
//     @Override
//     public Integer apply(String input) {
//         return Strings.isNullOrEmpty(input) ? null : Integer.valueOf(input);
//     }
// 
// }


// Path: src/test/java/br/com/tecsinapse/datasources/ThreeColumnValue.java
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
import br.com.tecsinapse.dataio.annotation.TableCellMapping;
import br.com.tecsinapse.dataio.converter.IntegerTableCellConverter;

package br.com.tecsinapse.datasources;



@Getter
@NoArgsConstructor
@EqualsAndHashCode(of = {"col1", "col2", "col3"})
@ToString(of = {"col1", "col2", "col3"})
public class ThreeColumnValue {
    private Integer col1;
    private Integer col2;
    private Integer col3;

    public ThreeColumnValue(Integer col1, Integer col2, Integer col3) {
        this.col1 = col1;
        this.col2 = col2;
        this.col3 = col3;
    }

    @TableCellMapping(columnIndex = 0, converter = IntegerTableCellConverter.class)