public static Populator buildCustomerPopulator() {
Date today = new Date();
Date nextYear = new Date();nextYear.setYear(today.getYear() + 1);
return new PopulatorBuilder()
.registerRandomizer(Customer.class, Integer.TYPE, "id", new Randomizer() {
Random random = new Random();
@Override
public Integer getRandomValue() {
return Math.abs(random.nextInt(1000000));
}