package cn.freemud.entities.vo;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

@Data
public class  GoodsQtyInfo{
    /**
     * 购物车一行的ID
     */
    @NotEmpty(message = "cartGoodsUid不能为空")
    private String cartGoodsUid;

    /**
     * 更新后商品数量
     */
    @NotNull(message = "qty不能为空")
    private Integer qty;
}
