feat: close overseas wallet and pallet cost flow

This commit is contained in:
2026-09-05 22:26:25 +08:00
parent f62283fb7f
commit 5fbd2bbd04
69 changed files with 1598 additions and 53 deletions
@@ -53,6 +53,13 @@ public final class OverseasProcurementRequests {
@NotBlank @Size(max = 255) String idempotencyKey,
@Size(max = 1000) String remark) {}
public record CreateFee(
@NotBlank @Size(max = 32) String feeItemCode,
@NotBlank @Size(max = 128) String feeItemName,
@NotNull @DecimalMin(value = "0.01") BigDecimal amount,
@NotNull @Positive Long voucherFileId,
@Size(max = 500) String remark) {}
public record Update(
@NotNull @Min(0) Long version,
@Size(max = 128) String purchaseCategory,
@@ -27,6 +27,14 @@ public final class OverseasProcurementResponses {
String idempotencyKey, String changeDetail, String remark,
LocalDateTime createdAt) {}
public record FileInfo(Long id, String category, Long fileId, String fileName,
String contentType, long sizeBytes, LocalDateTime createdAt) {}
public record Fee(Long id, String feeNo, String feeItemCode, String feeItemName,
BigDecimal amount, String currency, Long voucherFileId,
String voucherFileName, String remark, String walletStatus,
String walletErrorMessage, LocalDateTime createdAt) {}
public record Detail(
Summary summary, String productUrl, String receivingAddress,
String contactName, String contactPhone,
@@ -34,5 +42,6 @@ public final class OverseasProcurementResponses {
String overseasCarrier, String overseasTrackingNo,
LocalDateTime estimatedArrivalAt, String remark,
String createdBy, String reviewedBy, String reviewRemark, LocalDateTime reviewedAt,
List<History> histories, List<OutboundDetail> outboundDetails) {}
List<History> histories, List<OutboundDetail> outboundDetails,
List<FileInfo> files, List<Fee> fees) {}
}