| 
					
				 | 
			
			
				@@ -5,6 +5,8 @@ import com.fasterxml.jackson.annotation.JsonFormat; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.yonge.cooleshow.biz.dal.dto.UserParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.yonge.cooleshow.biz.dal.enums.ClientEnum; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.yonge.cooleshow.biz.dal.enums.SendTypeEnum; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.yonge.cooleshow.biz.dal.enums.coupon.CouponCategoryEnum; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.yonge.cooleshow.biz.dal.enums.coupon.CouponTypeEnum; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.yonge.cooleshow.biz.dal.enums.coupon.CouponUseStateEnum; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.yonge.toolset.base.page.QueryInfo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import io.swagger.annotations.ApiModel; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -28,20 +30,22 @@ import java.util.List; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 public class CouponIssueVo { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @ApiModel(value = "优惠券发放信息分页请求", description = "优惠券发放信息分页请求") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @ApiModel("优惠券发放信息分页请求") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public static class PageRequest extends QueryInfo { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @ApiModelProperty(value = "优惠券id",required = true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        @NotNull(message = "优惠券id不能为空") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private Long couponId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 真实姓名/昵称/手机号/编号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @ApiModelProperty("真实姓名/昵称/手机号/编号") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private String keyword; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("用户id") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private Long userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 客户端 TEACHER  STUDENT 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @ApiModelProperty("客户端 TEACHER  STUDENT") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private ClientEnum client; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private ClientEnum clientType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 发放方式 PLATFORM AVTIVITY 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @ApiModelProperty("发放方式 PLATFORM:后台发放 AVTIVITY:活动领取") 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -75,6 +79,14 @@ public class CouponIssueVo { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private Date usedEndTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public Long getUserId() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setUserId(Long userId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.userId = userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         public Long getCouponId() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return couponId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -91,12 +103,12 @@ public class CouponIssueVo { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.keyword = keyword; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public ClientEnum getClient() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return client; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public ClientEnum getClientType() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return clientType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public void setClient(ClientEnum client) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.client = client; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setClientType(ClientEnum clientType) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.clientType = clientType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         public SendTypeEnum getIssueWay() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -158,7 +170,7 @@ public class CouponIssueVo { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @NoArgsConstructor 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @AllArgsConstructor 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @ApiModel(value = "优惠券信息分页信息", description = "优惠券信息分页信息") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @ApiModel("优惠券发放信息分页信息") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public static class CouponIssuePageInfo implements Serializable { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @ApiModelProperty("用户id") 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -252,46 +264,105 @@ public class CouponIssueVo { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @ApiModel("发放优惠券用户分页数据") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    public static class CouponIssueUserPageInfo { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @ApiModel("发送优惠券") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public static class CouponIssueUserParam { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty(value = "优惠券id",required = true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @NotNull(message = "优惠券id不能为空") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private Long couponId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("用户信息") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @Size(min = 1,message = "请选择发送优惠券用户") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private List<UserParam> userParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty(value = "发放原因",required = true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private String remark; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public String getRemark() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return remark; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setRemark(String remark) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.remark = remark; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public Long getCouponId() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return couponId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setCouponId(Long couponId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.couponId = couponId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public List<UserParam> getUserParam() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return userParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setUserParam(List<UserParam> userParam) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.userParam = userParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @ApiModel("用户查询优惠券分页请求") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public static class UserCouponIssuePageRequest extends QueryInfo{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @ApiModelProperty("用户id") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @NotNull(message = "用户id不能为空") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private Long userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        @ApiModelProperty("实名") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private String realName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        @ApiModelProperty("昵称") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private String username; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        @ApiModelProperty("客户端") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("用户类型") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @NotNull(message = "用户类型不能为空") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private ClientEnum clientType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        @ApiModelProperty("手机号") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private String phone; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("优惠券编号/名称") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private String couponKeyword; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public Long getUserId() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("优惠券类型 ") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private CouponTypeEnum couponType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("可用品类 UNIVERSAL:全场通用 VIP:小酷Ai PIANO:云酷琴房 MALL:商场购物券 MUSIC:单曲点播券 SPARRING:陪练课购买券 LIVE:直播课购买券  VIDEO:视频课购买券") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private CouponCategoryEnum couponCategory; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("获取途径 PLATFORM:平台,ACTIVITY:活动") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private SendTypeEnum issueWay; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("使用状态 USED:已使用 USABLE:未使用 EXPIRED:过期") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private CouponUseStateEnum useState; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("领取开始时间") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private Date issueStartTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("领取结束时间") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private Date issueEndTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public SendTypeEnum getIssueWay() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return issueWay; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public void setUserId(Long userId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.userId = userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setIssueWay(SendTypeEnum issueWay) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.issueWay = issueWay; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public String getRealName() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return realName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public CouponUseStateEnum getUseState() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return useState; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public void setRealName(String realName) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.realName = realName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setUseState(CouponUseStateEnum useState) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.useState = useState; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public String getUsername() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return username; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public Long getUserId() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public void setUsername(String username) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.username = username; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setUserId(Long userId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.userId = userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         public ClientEnum getClientType() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -302,25 +373,108 @@ public class CouponIssueVo { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.clientType = clientType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public String getPhone() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return phone; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public String getCouponKeyword() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return couponKeyword; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setCouponKeyword(String couponKeyword) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.couponKeyword = couponKeyword; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public CouponTypeEnum getCouponType() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return couponType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public void setPhone(String phone) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.phone = phone; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setCouponType(CouponTypeEnum couponType) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.couponType = couponType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public CouponCategoryEnum getCouponCategory() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return couponCategory; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setCouponCategory(CouponCategoryEnum couponCategory) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.couponCategory = couponCategory; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public Date getIssueStartTime() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return issueStartTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setIssueStartTime(Date issueStartTime) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.issueStartTime = issueStartTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public Date getIssueEndTime() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return issueEndTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setIssueEndTime(Date issueEndTime) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.issueEndTime = issueEndTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public String jsonString() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return JSON.toJSONString(this); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @ApiModel("发送优惠券") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    public static class CouponIssueUserParam { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @ApiModel("老师学生查看领取过的优惠券信息分页数据") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public static class UserCouponIssuePageInfo { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        @ApiModelProperty(value = "优惠券id",required = true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        @NotNull(message = "优惠券id不能为空") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("用户id") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private Long userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("优惠券id") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private Long couponId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        @ApiModelProperty("用户信息") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        @Size(min = 1,message = "请选择发送优惠券用户") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private List<UserParam> userParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("优惠券名称") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private String couponName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("优惠券类型 ") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private CouponTypeEnum couponType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("可用品类 UNIVERSAL:全场通用 VIP:小酷Ai PIANO:云酷琴房 MALL:商场购物券 MUSIC:单曲点播券 SPARRING:陪练课购买券 LIVE:直播课购买券  VIDEO:视频课购买券") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private CouponCategoryEnum couponCategory; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("使用状态 USED:已使用 USABLE:未使用 EXPIRED:过期") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private CouponUseStateEnum useState; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("订单号") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private String orderNo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("有效期开始时间") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private Date startTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("有效期结束时间") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private Date endTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("发放时间") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private Date issueTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("使用时间") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private Date useTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("发放途径PLATFORM:后台发放 ACTIVITY:活动领取") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private SendTypeEnum issueWay; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("发放人id") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private Long issuer; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("发放人昵称") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private String issueUsername; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("发放人实名") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private String issueRealName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @ApiModelProperty("备注") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private String remark; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public Long getUserId() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setUserId(Long userId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.userId = userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         public Long getCouponId() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return couponId; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -330,14 +484,116 @@ public class CouponIssueVo { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.couponId = couponId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public List<UserParam> getUserParam() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return userParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public String getCouponName() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return couponName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public void setUserParam(List<UserParam> userParam) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.userParam = userParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setCouponName(String couponName) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.couponName = couponName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public CouponTypeEnum getCouponType() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return couponType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setCouponType(CouponTypeEnum couponType) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.couponType = couponType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public CouponCategoryEnum getCouponCategory() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return couponCategory; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setCouponCategory(CouponCategoryEnum couponCategory) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.couponCategory = couponCategory; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public CouponUseStateEnum getUseState() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return useState; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setUseState(CouponUseStateEnum useState) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.useState = useState; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public String getOrderNo() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return orderNo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setOrderNo(String orderNo) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.orderNo = orderNo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public Date getStartTime() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return startTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setStartTime(Date startTime) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.startTime = startTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public Date getEndTime() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return endTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setEndTime(Date endTime) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.endTime = endTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public Date getIssueTime() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return issueTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setIssueTime(Date issueTime) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.issueTime = issueTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public Date getUseTime() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return useTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setUseTime(Date useTime) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.useTime = useTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public SendTypeEnum getIssueWay() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return issueWay; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setIssueWay(SendTypeEnum issueWay) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.issueWay = issueWay; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public Long getIssuer() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return issuer; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setIssuer(Long issuer) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.issuer = issuer; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public String getIssueUsername() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return issueUsername; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setIssueUsername(String issueUsername) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.issueUsername = issueUsername; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public String getIssueRealName() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return issueRealName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setIssueRealName(String issueRealName) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.issueRealName = issueRealName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public String getRemark() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return remark; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void setRemark(String remark) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.remark = remark; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |