package com.yc.ship.module.product.api.dto;

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

import java.math.BigDecimal;
import java.util.List;

@Schema(description = "RPC 服务 - 分销产品 Response VO")
@Data
public class PlatProductRespDTO {

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

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

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

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

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

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

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

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

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

    @Schema(description = "产品规格信息")
    private List<ProductGroupRespDTO> productGroupList;

}