// 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/main/java/br/com/tecsinapse/dataio/converter/LocalDateTableCellConverter.java
// public class LocalDateTableCellConverter implements FromDateConverter<LocalDate> {
// 
//     @Override
//     public LocalDate apply(Date input) {
//         return LocalDateTimeTableCellConverter.LOCAL_DATE_TIME_CONVERTER.apply(input).toLocalDate();
//     }
// 
//     @Override
//     public LocalDate apply(String input) {
//         return Strings.isNullOrEmpty(input) ? null : LocalDate.parse(input);
//     }
// 
// }


import java.time.LocalDate;
import java.util.Objects;
import br.com.tecsinapse.dataio.annotation.FixedLengthColumn;
import br.com.tecsinapse.dataio.annotation.LineFixedLengthFile;
import br.com.tecsinapse.dataio.converter.IntegerTableCellConverter;
import br.com.tecsinapse.dataio.converter.LocalDateTableCellConverter;
/*
 * Tecsinapse Data Input and Output
 *
 * License: GNU Lesser General Public License (LGPL), version 3 or later
 * See the LICENSE file in the root directory or <http://www.gnu.org/licenses/lgpl-3.0.html>.
 */
package br.com.tecsinapse.dataio.test;



public class FakeFixedLengthFilePojo {

    private int one;
    private String two;
    private LocalDate three;
    private String line;

    public FakeFixedLengthFilePojo() {
    }

    public FakeFixedLengthFilePojo(int one, String two, LocalDate three, String line) {
        this.one = one;
        this.two = two;
        this.three = three;
        this.line = line;
    }

// 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/main/java/br/com/tecsinapse/dataio/converter/LocalDateTableCellConverter.java
// public class LocalDateTableCellConverter implements FromDateConverter<LocalDate> {
// 
//     @Override
//     public LocalDate apply(Date input) {
//         return LocalDateTimeTableCellConverter.LOCAL_DATE_TIME_CONVERTER.apply(input).toLocalDate();
//     }
// 
//     @Override
//     public LocalDate apply(String input) {
//         return Strings.isNullOrEmpty(input) ? null : LocalDate.parse(input);
//     }
// 
// }


// Path: src/test/java/br/com/tecsinapse/dataio/test/FakeFixedLengthFilePojo.java
import java.time.LocalDate;
import java.util.Objects;
import br.com.tecsinapse.dataio.annotation.FixedLengthColumn;
import br.com.tecsinapse.dataio.annotation.LineFixedLengthFile;
import br.com.tecsinapse.dataio.converter.IntegerTableCellConverter;
import br.com.tecsinapse.dataio.converter.LocalDateTableCellConverter;

/*
 * Tecsinapse Data Input and Output
 *
 * License: GNU Lesser General Public License (LGPL), version 3 or later
 * See the LICENSE file in the root directory or <http://www.gnu.org/licenses/lgpl-3.0.html>.
 */
package br.com.tecsinapse.dataio.test;



public class FakeFixedLengthFilePojo {

    private int one;
    private String two;
    private LocalDate three;
    private String line;

    public FakeFixedLengthFilePojo() {
    }

    public FakeFixedLengthFilePojo(int one, String two, LocalDate three, String line) {
        this.one = one;
        this.two = two;
        this.three = three;
        this.line = line;
    }

    @FixedLengthColumn(columnIndex = 0, columnSize = 2, converter = IntegerTableCellConverter.class)