2026-06-26 20b96473f2520590a0dca6b775b81e3ea06a77a0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package cn.iocoder.yudao.module.product.controller.admin.history.vo;
 
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
@Schema(description = "管理后台 - 商品浏览记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProductBrowseHistoryRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;
 
    @Schema(description = "商品 SPU 编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29502")
    private Long spuId;
 
    // ========== 商品相关字段 ==========
 
    @Schema(description = "商品 SPU 名称", example = "赵六")
    private String spuName;
 
    @Schema(description = "商品封面图", example = "https://domain/pic.png")
    private String picUrl;
 
    @Schema(description = "商品单价", example = "100")
    private Integer price;
 
    @Schema(description = "商品销量", example = "100")
    private Integer salesCount;
 
    @Schema(description = "库存", example = "100")
    private Integer stock;
 
}