【代码优化】商城: 完善前端返回所需字段

This commit is contained in:
puhui999 2024-09-28 10:02:14 +08:00
parent 8850df1a09
commit e251f2f543

View File

@ -26,6 +26,14 @@ public class PointActivityRespVO {
@ExcelProperty("活动状态")
private Integer status;
@Schema(description = "积分商城活动库存(剩余库存积分兑换时扣减)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
@ExcelProperty("积分商城活动库存(剩余库存积分兑换时扣减)")
private Integer stock;
@Schema(description = "积分商城活动总库存", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
@ExcelProperty("积分商城活动总库存")
private Integer totalStock;
@Schema(description = "备注", example = "你说的对")
@ExcelProperty("备注")
private String remark;