package com.cpop.mall.business.vo;

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

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

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

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

    /**
     * 数量
     */
    @ApiModelProperty("数量")
    private Integer recordNum;

    /**
     * 记录消耗金额
     */
    @ApiModelProperty("记录消耗金额")
    private BigDecimal recordPrice;

    /**
     * 记录消耗积分
     */
    @ApiModelProperty("记录消耗积分")
    private Integer recordPoints;
}
