package com.yc.ship.module.product.controller.admin.productSpu.groupVO;

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.math.BigDecimal;

@Schema(description = "管理后台 - 产品组合 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProductGroupRespVO {

    @Schema(description = "主键", example = "21229")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "产品ID", example = "23709")
    private Long productId;

    @Schema(description = "基础产品ID;平台产品时为关联ID", example = "8989")
    private Long productBaseId;

    @Schema(description = "基础产品类型;0自建子票 1平台产品", example = "1")
    @ExcelProperty("基础产品类型")
    private Integer productBaseType;

    @Schema(description = "sku_id", example = "28152")
    @ExcelProperty("sku_id")
    private Long skuId;

    @Schema(description = "项目ID", example = "11824")
    private Long projectId;

    @Schema(description = "规格ID", example = "7216")
    @ExcelProperty("规格ID")
    private Long specificationId;

    @Schema(description = "优先资源ID", example = "11824")
    @ExcelProperty("优先资源ID")
    private Long firstResourceId;

    @Schema(description = "成本价格", example = "14190")
    @ExcelProperty("成本价格")
    private BigDecimal costPrice;

    @Schema(description = "销售价格", example = "27592")
    @ExcelProperty("销售价格")
    private BigDecimal salePrice;

    @Schema(description = "规格类型;common通用 full全价 half半价 free免票", example = "1")
    @ExcelProperty("规格类型")
    private String specType;

    @Schema(description = "是否必选;0否 1是")
    @ExcelProperty("是否必选;0否 1是")
    private Integer needChoose;

    @Schema(description = "非必选项目最大选择数量")
    @ExcelProperty("非必选项目最大选择数量")
    private Integer maxNum;

    @Schema(description = "第几天")
    @ExcelProperty("第几天")
    private Integer daySort;

    @Schema(description = "小程序是否显示 0.否 1.是")
    private Integer isShow;

    @Schema(description = "产品名称", example = "车票")
    @ExcelProperty("产品名称")
    private String productName;

    @Schema(description = "基础产品", example = "车票")
    @ExcelProperty("基础产品")
    private String productBaseName;

    @Schema(description = "项目", example = "车票")
    @ExcelProperty("项目")
    private String projectName;

    @Schema(description = "项目编码", example = "车票")
    @ExcelProperty("项目编码")
    private String projectCode;

    @Schema(description = "规格名称", example = "通用")
    @ExcelProperty("规格名称")
    private String specificationName;

    @Schema(description = "开始点位", example = "21229")
    private Long startPoint;

    @Schema(description = "结束点位", example = "21229")
    private Long endPoint;

    @Schema(description = "能否重复购买:0不可以，1可以")
    private Integer canRepeatBuy;

    @Schema(description = "是否启用0否 1是")
    private Integer useStatus;

    @Schema(description = "哪些规格不计算金额")
    private String specificationShow;

}
