package com.seer.teach.mall.request;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Schema(name = "OrderGoodReq", description = "订单商品")
public class OrderGoodReq {

    @Schema(description = "商品规格Id")
    private Integer skuId;

    @Schema(description = "相同商品的数量")
    private Integer number;

    @Schema(description = "购物车Id,如果是从购物者中创建订单，则必填")
    private Integer cartId;
}