package com.wzj.soopin.goods.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.dromara.common.core.domain.model.BaseAudit;
import org.dromara.common.excel.annotation.Excel;

import java.math.BigDecimal;

/**
 * sku信息 数据视图对象
 *
 * @author zcc
 */
@Schema(description = "SKU信息数据视图对象")
@Data
public class SkuVO extends BaseAudit {
    /** ID */
    @Schema(description = "ID")
    private Long id;

    /** PRODUCT_ID */
    @Schema(description = "PRODUCT_ID")
    @Excel(name = "PRODUCT_ID")
    private Long productId;

    /** sku编码 */
    @Schema(description = "sku编码")
    @Excel(name = "sku编码")
    private String outSkuId;

    /** PRICE */
    @Schema(description = "PRICE")
    @Excel(name = "PRICE")
    private BigDecimal price;

    /** 展示图片 */
    @Schema(description = "展示图片")
    @Excel(name = "展示图片")
    private String pic;

    /** 商品销售属性，json格式 */
    @Schema(description = "商品销售属性，json格式")
    @Excel(name = "商品销售属性，json格式")
    private String spData;

    @Schema(description = "库存数")
    @Excel(name = "库存数")
    private Integer stock;

    @Schema(description = "商品名称")
    @Excel(name = "商品名称")
    private String productName;
}
