package com.cpop.mall.business.bo;

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 16:41
 * @description
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "商城商品规格对象")
public class ProductSpecificationBo implements Serializable {

    private static final long serialVersionUID = 1L;

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

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

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