|
|
|
@ -1,46 +1,49 @@
|
|
|
|
|
package com.chanko.yunxi.mes.module.heli.controller.admin.storagemat.vo;
|
|
|
|
|
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
|
|
import lombok.*;
|
|
|
|
|
import java.util.*;
|
|
|
|
|
import javax.validation.constraints.*;
|
|
|
|
|
import java.util.*;
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "管理后台 - 入/出库物料新增/修改 Request VO")
|
|
|
|
|
@Data
|
|
|
|
|
public class StorageMatSaveReqVO {
|
|
|
|
|
|
|
|
|
|
@Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "29383")
|
|
|
|
|
private Long id;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "入/出库Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19477")
|
|
|
|
|
@NotNull(message = "入/出库Id不能为空")
|
|
|
|
|
private Long stockId;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "物料 Id,对应 base_material表中的 Id 列", requiredMode = Schema.RequiredMode.REQUIRED, example = "3400")
|
|
|
|
|
@NotNull(message = "物料 Id,对应 base_material表中的 Id 列不能为空")
|
|
|
|
|
private Long matId;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "仓库 Id,对应 wms_wh 表中的Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31860")
|
|
|
|
|
@NotNull(message = "仓库 Id,对应 wms_wh 表中的Id不能为空")
|
|
|
|
|
private Long whId;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "库区 Id,对应 wms_rg 表中的Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13060")
|
|
|
|
|
@NotNull(message = "库区 Id,对应 wms_rg 表中的Id不能为空")
|
|
|
|
|
private Long rgId;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "库区 Id,对应 wms_rg 表中的Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "25544")
|
|
|
|
|
@NotNull(message = "库区 Id,对应 wms_rg 表中的Id不能为空")
|
|
|
|
|
private Long pnId;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "库存良品数量")
|
|
|
|
|
private BigDecimal storageOkQty;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "批次号")
|
|
|
|
|
private String lotNo;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "备注", example = "你猜")
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
package com.chanko.yunxi.mes.module.heli.controller.admin.storagemat.vo;
|
|
|
|
|
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
|
|
import lombok.*;
|
|
|
|
|
import java.util.*;
|
|
|
|
|
import javax.validation.constraints.*;
|
|
|
|
|
import java.util.*;
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "管理后台 - 入/出库物料新增/修改 Request VO")
|
|
|
|
|
@Data
|
|
|
|
|
public class StorageMatSaveReqVO {
|
|
|
|
|
|
|
|
|
|
@Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "29383")
|
|
|
|
|
private Long id;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "入/出库Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19477")
|
|
|
|
|
@NotNull(message = "入/出库Id不能为空")
|
|
|
|
|
private Long stockId;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "物料 Id,对应 base_material表中的 Id 列", requiredMode = Schema.RequiredMode.REQUIRED, example = "3400")
|
|
|
|
|
@NotNull(message = "物料 Id,对应 base_material表中的 Id 列不能为空")
|
|
|
|
|
private Long matId;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "仓库 Id,对应 wms_wh 表中的Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31860")
|
|
|
|
|
@NotNull(message = "仓库 Id,对应 wms_wh 表中的Id不能为空")
|
|
|
|
|
private Long whId;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "库区 Id,对应 wms_rg 表中的Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13060")
|
|
|
|
|
@NotNull(message = "库区 Id,对应 wms_rg 表中的Id不能为空")
|
|
|
|
|
private Long rgId;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "库区 Id,对应 wms_rg 表中的Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "25544")
|
|
|
|
|
@NotNull(message = "库区 Id,对应 wms_rg 表中的Id不能为空")
|
|
|
|
|
private Long pnId;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "库存良品数量")
|
|
|
|
|
private BigDecimal storageOkQty;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "批次号")
|
|
|
|
|
private String lotNo;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "子项目编号")
|
|
|
|
|
private String projectNo;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "备注", example = "你猜")
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|