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.time.LocalDateTime;

@Schema(description = "RPC 服务 - Product 组合产品sku Response DTO")
@Data
public class ProductSkuRespDTO {

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

    @Schema(description = "分销产品ID", example = "20562")
    private Long distributorProductId;

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

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

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

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

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

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

}