package org.minimalj.example.currencies.frontend;

import java.util.List;

import org.minimalj.backend.Backend;
import org.minimalj.example.currencies.model.Currency;
import org.minimalj.frontend.page.TablePage;
import org.minimalj.repository.query.By;

public class CurrencyTablePage extends TablePage<Currency> {
	
	public CurrencyTablePage() {
		super(new Object[]{Currency.$.number, Currency.$.id, Currency.$.name, Currency.$.fund, Currency.$.minorUnits});
	}

	@Override
	protected List<Currency> load() {
		return Backend.read(Currency.class, By.all(), 1000);
	}

}

@@ -525,11 +525,11 @@
 end.
-rea
+fin
 d(Cu
@@ -554,14 +554,8 @@
 ll()
-, 1000
 );%0A%09

align to new TablePage