package com.cpop.mall.business.vo;

import com.cpop.core.annontation.StringArrayConvert;
import com.mybatisflex.annotation.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author DB
 * @createTime 2023/10/23 17:33
 * @description
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "商城商品规格返回对象")
public class ProductSpecificationVo implements Serializable {

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    private String id;

    /**
     * 产品id
     */
    @ApiModelProperty("产品id")
    private String productId;

    /**
     * 规格名
     */
    @ApiModelProperty("规格名")
    @StringArrayConvert
    private String specificationNames;
}
