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
| package cn.iocoder.yudao.module.trade.controller.app.base.spu;
|
| import io.swagger.v3.oas.annotations.media.Schema;
| import lombok.Data;
|
| /**
| * 商品 SPU 基础 Response VO
| *
| * @author 芋道源码
| */
| @Data
| public class AppProductSpuBaseRespVO {
|
| @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
| private Long id;
|
| @Schema(description = "商品 SPU 名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
| private String name;
|
| @Schema(description = "商品主图地址", example = "https://www.iocoder.cn/xx.png")
| private String picUrl;
|
| @Schema(description = "商品分类编号", example = "1")
| private Long categoryId;
|
| @Schema(description = "商品库存", requiredMode = Schema.RequiredMode.REQUIRED, example = "10000")
| private Integer stock;
|
| @Schema(description = "商品状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
| private Integer status;
|
| }
|
|