private LocationDao locationDao;
@PostConstruct
public void run() {
// Locations
Location location1 = createLocation("Grocery Store", createAddress("123 Some Street", "Some City", "543 21"));
locationDao.save(location1);
Location location2 = createLocation("Other Store", createAddress("123 Middle of Nowhere Street", "Boonies", "890 34"));
locationDao.save(location2);
Location location3 = createLocation("Mail Supply", createAddress("45 Nowhere Street", "Lost City", "675 12"));
locationDao.save(location3);
Location location4 = createLocation("Sorting Hub", createAddress("321 Other Street", "Some City", "123 89"));
locationDao.save(location4);
// Version 1 tickets (without email)
Ticket ticket1 = createTicket("John", "Doe", null, "ab-123-12345", createAddress("123 Street", "City", "123 45"));
Ticket ticket2 = createTicket("John", "Doe", null, "ab-123-12345", createAddress("123 Street", "City", "123 45"));