package com.ruoyi.controller.req;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author a
 * @date 2023/2/13 16:15
 */
@Data
public class InsertShoppingCarReq {
    @NotNull(message = "规格id不能为空")
    private Long speId; //规格Id
    @NotNull(message = "规格数量不能为空")
    private Integer quantity; //数量

    @NotNull(message = "商品id不能为空")
    private Long goodsId;
}
