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;
|
|
}
|