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

import com.wzj.soopin.goods.domain.entity.Sku;
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;
import java.util.List;

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

    /** BRAND_ID */
    @Schema(description = "BRAND_ID")
    @Excel(name = "BRAND_ID")
    private Long brandId;

    /** CATEGORY_ID */
    @Schema(description = "CATEGORY_ID")
    @Excel(name = "CATEGORY_ID")
    private Long categoryId;

    /** 商品编码 */
    @Schema(description = "商品编码")
    @Excel(name = "商品编码")
    private String outProductId;

    /** NAME */
    @Schema(description = "NAME")
    @Excel(name = "NAME")
    private String name;

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

    /** 画册图片，连产品图片限制为5张，以逗号分割 */
    @Schema(description = "画册图片，连产品图片限制为5张，以逗号分割")
    @Excel(name = "画册图片，连产品图片限制为5张，以逗号分割")
    private String albumPics;

    /** 上架状态：0->下架；1->上架 */
    @Schema(description = "上架状态：0->下架；1->上架")
    @Excel(name = "上架状态：0->下架；1->上架")
    private Integer publishStatus;

    /** 排序 */
    @Schema(description = "排序")
    @Excel(name = "排序")
    private Integer sort;

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

    /** 单位 */
    @Schema(description = "单位")
    @Excel(name = "单位")
    private String unit;

    /** 商品重量，默认为克 */
    @Schema(description = "商品重量，默认为克")
    @Excel(name = "商品重量，默认为克")
    private BigDecimal weight;

    /** 产品详情网页内容 */
    @Schema(description = "产品详情网页内容")
    @Excel(name = "产品详情网页内容")
    private String detailHtml;

    /** 移动端网页详情 */
    @Schema(description = "移动端网页详情")
    @Excel(name = "移动端网页详情")
    private String detailMobileHtml;

    /** 品牌名称 */
    @Schema(description = "品牌名称")
    @Excel(name = "品牌名称")
    private String brandName;

    @Schema(description = "品牌logo")
    private String brandLogo;

    /** 商品分类名称 */
    @Schema(description = "商品分类名称")
    @Excel(name = "商品分类名称")
    private String productCategoryName;

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

    @Schema(description = "SKU列表")
    private List<Sku> skuList;

    @Schema(description = "联系人")
    private String contactUserName;

    @Schema(description = "店铺手机号")
    private String contactPhone;

    @Schema(description = "店铺id")
    private String tenantId;

    @Schema(description = "审核状态 1.待审核、2.审核通过、3.审核驳回")
    private String authFlag;

    @Schema(description = "销量")
    private String sales;

    @Schema(description = "商品类型 1.团购;->2.拼团;3->秒杀")
    private Integer type;

//    @Schema(description = "配送方式 1->到店核销；2->自提;3->配送;")
//    private Integer distribution;

    @Schema(description = "描述")
    private String describe;

    @Schema(description = "优惠金额")
    private BigDecimal discountPrice;

    @Schema(description = "店铺名称")
    private String storeName;


}
