package cn.ysk.cashier.dto.shoptable;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class UpdateCartDTO {
    @NotNull
    private Integer cartId;
    @NotNull
    private Integer skuId;
    @NotNull
    private Integer productId;
    @NotNull
    private Integer shopId;
    @NotNull
    @Min(0)
    private Integer num;

}
