2026-06-24 f4bd1f3c89d906131495a0aca5aaf82966378510
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package cn.iocoder.yudao.module.wms.controller.admin.order.movement.vo.detail;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Schema(description = "管理后台 - WMS 移库单明细保存 Request VO")
@Data
public class WmsMovementOrderDetailSaveReqVO {
 
    @Schema(description = "编号", example = "1024")
    private Long id;
 
    @Schema(description = "SKU 编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
    @NotNull(message = "SKU 不能为空")
    private Long skuId;
 
    @Schema(description = "移库数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100.00")
    @NotNull(message = "移库数量不能为空")
    @DecimalMin(value = "0", inclusive = false, message = "移库数量必须大于 0")
    private BigDecimal quantity;
 
    @Schema(description = "单价", example = "100.00")
    @DecimalMin(value = "0", message = "单价不能小于 0")
    private BigDecimal price;
 
    @Schema(description = "行金额", example = "1000.00")
    @DecimalMin(value = "0", message = "行金额不能小于 0")
    private BigDecimal totalPrice;
 
}