package com.seer.teach.mall.response;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "商品类型响应参数")
public class CategoryTypeResp {

    @Schema(description = "商品id")
    private Integer id;

    @Schema(description = "商品名称")
    private String name;

    @Schema(description = "商品价格")
    private BigDecimal price;

    @Schema(description = "商品图片")
    private String primaryPicUrl;

    @Schema(description = "售卖数量")
    private Integer sellVolume;
}
