package ee.iglu.dao;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
public class SimpleRow {
	private final Long id;
	private final String text;
}

package ee.iglu.dao;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class SimpleRow {
	private Long id;
	private String text;
}

prepare SimpleRow class for BeanPropertyRowMapper