修改商品规格属性添加对象

pull/16/head
js199000131 2023-05-24 11:09:19 +08:00
parent 3582bdd395
commit bb5ef9be1c
1 changed files with 3 additions and 0 deletions

View File

@ -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")