package com.wzj.soopin.order.domain.bo;


import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 下单商品详情
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SaveOrderSkuItemBO {

    /**
     * 商品id
     */
    @NotNull(message = "商品id不能为空")
    private Long skuId;

    /**
     * 下单数量
     */
    @NotNull(message = "下单数量不能为空")
    private Integer quantity;
}
