diff --git a/yudao-module-mall/yudao-module-shop-api/src/main/java/cn/iocoder/yudao/module/shop/request/product/StoreProductAttrValueAddRequest.java b/yudao-module-mall/yudao-module-shop-api/src/main/java/cn/iocoder/yudao/module/shop/request/product/StoreProductAttrValueAddRequest.java index b6787e820..85ee696f5 100644 --- a/yudao-module-mall/yudao-module-shop-api/src/main/java/cn/iocoder/yudao/module/shop/request/product/StoreProductAttrValueAddRequest.java +++ b/yudao-module-mall/yudao-module-shop-api/src/main/java/cn/iocoder/yudao/module/shop/request/product/StoreProductAttrValueAddRequest.java @@ -72,6 +72,9 @@ public class StoreProductAttrValueAddRequest implements Serializable { @DecimalMin(value = "0", message = "原价不能小于0") private BigDecimal otPrice; + @Schema(description= "商品条码(一维码)") + private String barCode; + @Schema(description= "重量", required = true) @NotNull(message = "规格属性重量不能为空") @DecimalMin(value = "0", message = "重量不能小于0")