package com.tashow.cloud.productapi.api.product.vo.prod;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 商品 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProdRespVO {

    @Schema(description = "产品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "6943")
    @ExcelProperty("产品ID")
    private Long prodId;

    @Schema(description = "商品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("商品名称")
    private String prodName;

    @Schema(description = "商品简称")
    @ExcelProperty("商品简称")
    private String abbreviation;

    @Schema(description = "seo标题", example = "李四")
    @ExcelProperty("seo标题")
    private String seoShortName;


    @Schema(description = "seo搜索")
    @ExcelProperty("seo搜索")
    private String seoSearch;

    @Schema(description = "关键词")
    @ExcelProperty("关键词")
    private String keyword;

    @Schema(description = "店铺id", example = "10843")
    @ExcelProperty("店铺id")
    private Long shopId;

    @Schema(description = "简要描述,卖点等")
    @ExcelProperty("简要描述,卖点等")
    private String brief;

    @Schema(description = "品牌")
    @ExcelProperty("品牌")
    private String brand;

    @Schema(description = "详细描述")
    @ExcelProperty("详细描述")
    private String content;

    @Schema(description = "商品编号")
    @ExcelProperty("商品编号")
    private String prodNumber;

    @Schema(description = "商品主图")
    @ExcelProperty("商品主图")
    private String pic;

    @Schema(description = "商品轮播图片，以,分割")
    @ExcelProperty("商品轮播图片，以,分割")
    private String imgs;

    /**
     * 视频
     */
    private String video;

    /**
     * 商品轮播图片，以,分割
     */
    private String whiteImg;

    @Schema(description = "默认是1，正常状态（出售中）, 0：下架（仓库中） 2：待审核", example = "2")
    @ExcelProperty("默认是1，正常状态（出售中）, 0：下架（仓库中） 2：待审核")
    private Integer status;

    @Schema(description = "商品分类", example = "14895")
    @ExcelProperty("商品分类")
    private Long categoryId;

    /**
     * 商品分类名称
     */
    private String categoryName;

    @Schema(description = "销量")
    @ExcelProperty("销量")
    private Integer soldNum;

    @Schema(description = "分享图")
    @ExcelProperty("分享图")
    private String shareImage;

    @Schema(description = "'是否置灰0否1是'")
    private Integer isProhibit;

    @Schema(description = "审核备注")
    private String processNotes;
    /**
     * 标签
     */
    public List<String> tag;

    @Schema(description = "分享话术")
    @ExcelProperty("分享话术")
    private String shareContent;

    @Schema(description = "是否开启区域0关1开")
    @ExcelProperty("是否开启区域0关1开")
    private Integer regionSwitch;

    @Schema(description = "是否特殊时段0关1开")
    @ExcelProperty("是否特殊时段0关1开")
    private Integer additionalSwitch;

    @Schema(description = "是否特殊日期（节假日周末什么的）0关1开")
    @ExcelProperty("是否特殊日期（节假日周末什么的）0关1开")
    private Integer additionalFeeSwitch;

    @Schema(description = "是否紧急响应服务0关1开")
    @ExcelProperty("是否紧急响应服务0关1开")
    private Integer emergencySwitch;

    @Schema(description = "是否预约0关1开")
    @ExcelProperty("是否预约0关1开")
    private Integer reservationSwitch;

    @Schema(description = "是否接单上线0关1开")
    @ExcelProperty("是否接单上线0关1开")
    private Integer orderLimitSwitch;

    @Schema(description = "是否开启体重配置0关1开")
    @ExcelProperty("是否开启体重配置0关1开")
    private Integer weightSwitch;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建人")
    @ExcelProperty("创建人")
    private String createBy;

    @Schema(description = "修改人")
    @ExcelProperty("修改人")
    private String updateBy;

    @Schema(description = "版本 乐观锁")
    @ExcelProperty("版本 乐观锁")
    private Integer version;

    @Schema(description = "展示的权重")
    @ExcelProperty("展示的权重")
    private Integer top;

}