| | |
| | | import jakarta.validation.constraints.NotNull; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | |
| | | @Schema(description = "管理后台 - MES 供应商退货单新增/修改 Request VO") |
| | | @Data |
| | |
| | | @Schema(description = "退货原因", example = "质量不合格") |
| | | private String returnReason; |
| | | |
| | | @Schema(description = "处理方式:1退款 2换货", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | @NotNull(message = "处理方式不能为空:1退款 2换货") |
| | | private Integer handleType; |
| | | |
| | | @Schema(description = "退款金额(处理方式=退款时填写;为空时按采购单价×退货数量计算)", example = "1000.00") |
| | | private BigDecimal refundAmount; |
| | | |
| | | @Schema(description = "采购合同号(只读,创建时从采购订单快照)", example = "HT2026110001") |
| | | private String contractNo; |
| | | |
| | | @Schema(description = "附件 blobId 列表", example = "[1, 2, 3]") |
| | | private List<Long> blobIds; |
| | | |
| | | @Schema(description = "物流单号", example = "SF1234567890") |
| | | private String transportCode; |
| | | |