This commit is contained in:
2026-08-21 10:43:25 +08:00
parent d5e9ba6d4c
commit e17f03e596
55 changed files with 775 additions and 173 deletions
@@ -0,0 +1,21 @@
package com.baiyue.lastleg.model;
/** Standard main-process statuses for a last-leg order. */
public enum LastlegOrderStatus {
PENDING_ASSIGNMENT("待分配"),
PENDING_INBOUND("待入库"),
INBOUND_COMPLETED("入库完成"),
PENDING_DELIVERY("待派送"),
DELIVERING("派送中"),
DELIVERED("派送完成");
private final String label;
LastlegOrderStatus(String label) {
this.label = label;
}
public String label() {
return label;
}
}
@@ -0,0 +1,27 @@
package com.baiyue.lastleg.model;
/** Supported business types for a last-leg order. */
public enum LastlegOrderType {
/** Overseas order created from a completed first-leg loading plan. */
FIRST_LEG("头程订单"),
/** Customer-initiated relabel order. */
RELABEL_APPLICATION("换标下单"),
/** Warehouse-to-warehouse transfer order. */
WAREHOUSE_TRANSFER("仓储转运"),
/** Domestic/local loose pallet order. */
LOCAL_LOOSEBOARD("本土散板"),
/** Return shipment that also requires relabeling. */
RETURN_RELABEL("退货换标"),
/** One-click dropship order, retained for existing data and workflows. */
ONE_CLICK_DROPSHIP("一件代发");
private final String label;
LastlegOrderType(String label) {
this.label = label;
}
public String label() {
return label;
}
}