tuqin
2026-11-03 9494075e6d9d2a4b2b884b4ed740dee0c434734c
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.trade.controller.admin.foreign.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Schema(description = "管理后台 - 港口入库批次 创建/更新 Request VO")
@Data
public class TradePortBatchSaveReqVO {
 
    @Schema(description = "编号", example = "1024")
    private Long id;
 
    @Schema(description = "港口入库批次号", requiredMode = Schema.RequiredMode.REQUIRED, example = "PGB20260916001")
    @NotEmpty(message = "批次号不能为空")
    private String code;
 
    @Schema(description = "港口", example = "上海港")
    private String port;
 
    @Schema(description = "物料编号(可空)", example = "1")
    private Long itemId;
 
    @Schema(description = "批次备货总数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    @NotNull(message = "批次总数量不能为空")
    private BigDecimal totalCount;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
}