Commit 575c40a2 authored by zhangfeng's avatar zhangfeng

礼品分页返回VO修改

parent dfc55393
...@@ -118,8 +118,6 @@ public class RewardBackVO { ...@@ -118,8 +118,6 @@ public class RewardBackVO {
private Date createTime; private Date createTime;
@Data @Data
@AllArgsConstructor
@NoArgsConstructor
public static class NodeAndPoints { public static class NodeAndPoints {
@ApiModelProperty(value = "提货点") @ApiModelProperty(value = "提货点")
private List<Integer> wareHouses; private List<Integer> wareHouses;
...@@ -127,5 +125,14 @@ public class RewardBackVO { ...@@ -127,5 +125,14 @@ public class RewardBackVO {
private Integer points; private Integer points;
@ApiModelProperty(value = "剩余数量") @ApiModelProperty(value = "剩余数量")
private Integer quantityRemain; private Integer quantityRemain;
public NodeAndPoints() {
}
public NodeAndPoints(List<Integer> wareHouses, Integer quantityRemain, Integer points) {
this.wareHouses = wareHouses;
this.quantityRemain = quantityRemain;
this.points = points;
}
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment