Commit e251f2f5430399f0382e16db34488a1f4c53518e
1 parent
8850df1a
【代码优化】商城: 完善前端返回所需字段
Showing
1 changed file
with
8 additions
and
0 deletions
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/point/vo/activity/PointActivityRespVO.java
| @@ -26,6 +26,14 @@ public class PointActivityRespVO { | @@ -26,6 +26,14 @@ public class PointActivityRespVO { | ||
| 26 | @ExcelProperty("活动状态") | 26 | @ExcelProperty("活动状态") |
| 27 | private Integer status; | 27 | private Integer status; |
| 28 | 28 | ||
| 29 | + @Schema(description = "积分商城活动库存(剩余库存积分兑换时扣减)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2") | ||
| 30 | + @ExcelProperty("积分商城活动库存(剩余库存积分兑换时扣减)") | ||
| 31 | + private Integer stock; | ||
| 32 | + | ||
| 33 | + @Schema(description = "积分商城活动总库存", requiredMode = Schema.RequiredMode.REQUIRED, example = "2") | ||
| 34 | + @ExcelProperty("积分商城活动总库存") | ||
| 35 | + private Integer totalStock; | ||
| 36 | + | ||
| 29 | @Schema(description = "备注", example = "你说的对") | 37 | @Schema(description = "备注", example = "你说的对") |
| 30 | @ExcelProperty("备注") | 38 | @ExcelProperty("备注") |
| 31 | private String remark; | 39 | private String remark; |