package com.kxs.product.api.vo.kxsapp.shop;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商品sku VO
 *
 * @author Lxq
 * @date 2023-12-20
 */
@Data
@Schema(description = "商品sku返回实体")
public class ShopGoodsSkuVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Schema(description = "主键ID")
    private Integer id;

    /**
     * 限购数量
     */
    @Schema(description = "限购数量")
    private Integer limitCount;


    /**
     * 起购数量
     */
    @Schema(description = "起购数量")
    private Integer startByCount;


    /**
     * 售价
     */
    @Schema(description = "售价")
    private BigDecimal price;


    /**
     * 库存数量
     */
    @Schema(description = "库存数量")
    private Integer stockNum;

    /**
     * sku图片
     */
    @Schema(description = "sku图片")
    private String image;


    /**
     * 商品规格值列表，采用JSON数组格式
     */
    @Schema(description = "商品规格值列表，采用JSON数组格式")
    private String specifications;

}
