mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-04 21:19:40 +02:00
19 lines
453 B
Java
19 lines
453 B
Java
![]() |
package catering.order;
|
||
|
|
||
|
import org.salespointframework.core.DataInitializer;
|
||
|
import org.springframework.stereotype.Component;
|
||
|
|
||
|
@Component
|
||
|
public class CustomOrderDataInitializer implements DataInitializer {
|
||
|
private CustomOrderRepository orderRepository;
|
||
|
|
||
|
public CustomOrderDataInitializer(CustomOrderRepository orderRepository) {
|
||
|
this.orderRepository = orderRepository;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void initialize() {
|
||
|
// initialize custom orders
|
||
|
}
|
||
|
}
|