12 lines
557 B
Java
12 lines
557 B
Java
package com.baiyue.lastleg.appointmentplanning;
|
|||
|
|
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
/** Implemented by the external-booking owner; planning must not query Fleet's persistence directly. */
|
||
|
|
public interface AppointmentExternalSourceGateway {
|
||
|
|
record SourceRef(String customerId, String bookingNo) { }
|
||
|
|
record Source(String customerId, String bookingNo, String tripNo, String bookingStatus,
|
||
|
|
String warehouseId, String destinationKey, Long orderId, Integer packageCount, Long recordVersion) { }
|
||
|
|
List<Source> resolve(List<SourceRef> sources);
|
||
|
|
}
|