| | |
| | | |
| | | /** |
| | | * 查询用户VIP记录以及要领取的优惠券,传userId字段 |
| | | * 返回实体转换 UserCouponDataVo |
| | | * */ |
| | | @PostMapping(value = "/user/vip/log/coupon") |
| | | Result userVipLogCoupon(@RequestBody UserDto userDto); |
New file |
| | |
| | | package com.hz.his.vo.user; |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | | public class UserCouponDataVo { |
| | | /**活动唯一编码activity-ken*/ |
| | | private String uniqueNo; |
| | | /**活动开始时间*/ |
| | | private Date startTime; |
| | | /**活动结束时间*/ |
| | | private Date endTime; |
| | | |
| | | /**用户phis标识*/ |
| | | private String userId; |
| | | /**是否曾经和现在是vip客户* */ |
| | | private Boolean isVip = false; |
| | | |
| | | /**指定的SKU(艾芯荟的id)* */ |
| | | private String skuId; |
| | | /**加购的SKU(艾芯荟的id)* */ |
| | | private String addSkuId; |
| | | |
| | | /**是否已领取,默认只领取一次*/ |
| | | private Boolean isReceive = true; |
| | | /**要领取的优惠券标识*/ |
| | | private String couponId; |
| | | /**加购结账后赠送的优惠券标识*/ |
| | | private String sendCouponId; |
| | | |
| | | |
| | | |
| | | } |