/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.groupbuy.comment.api.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 小懒虫
 * @date 2019/8/30 10:25
 */
@Data
public class ApiGroupSkuDto {

    @ApiModelProperty("拼团活动商品规格id")
    private Long groupSkuId;

    @ApiModelProperty(value = "商品规格Id")
    private Long skuId;

    @ApiModelProperty(value = "原售价格")
    private Double price;

    @ApiModelProperty(value = "活动价格")
    private Double actPrice;

    @ApiModelProperty(value = "团长价格")
    private Double leaderPrice;

    @ApiModelProperty(value = "sku名称")
    private String skuName;

    @JsonSerialize(using = ImgJsonSerializer.class)
    @ApiModelProperty(value = "sku图片")
    private String pic;

    @ApiModelProperty(value = "销售属性组合字符串 格式是p1:v1;p2:v2")
    private String properties;
}
