Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Y
yudao-cloud
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
hblj
yudao-cloud
Commits
d5ac7ea8
提交
d5ac7ea8
authored
4月 06, 2019
作者:
YunaiV
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
后端:去除 promotion 模块的 setting getting 方法
上级
83ab405b
隐藏空白字符变更
内嵌
并排
正在显示
32 个修改的文件
包含
222 行增加
和
1458 行删除
+222
-1458
pom.xml
pom.xml
+47
-0
pom.xml
promotion/promotion-application/pom.xml
+0
-6
AdminsBannerPageVO.java
...l/promotion/application/vo/admins/AdminsBannerPageVO.java
+5
-20
AdminsCouponTemplatePageVO.java
...ion/application/vo/admins/AdminsCouponTemplatePageVO.java
+4
-18
AdminsCouponTemplateVO.java
...omotion/application/vo/admins/AdminsCouponTemplateVO.java
+4
-197
AdminsProductRecommendPageVO.java
...n/application/vo/admins/AdminsProductRecommendPageVO.java
+5
-20
AdminsProductRecommendVO.java
...otion/application/vo/admins/AdminsProductRecommendVO.java
+5
-64
UsersProductRecommendVO.java
...omotion/application/vo/users/UsersProductRecommendVO.java
+5
-47
pom.xml
promotion/promotion-service-api/pom.xml
+1
-2
BannerPageBO.java
...n/java/cn/iocoder/mall/promotion/api/bo/BannerPageBO.java
+9
-20
CouponCardBO.java
...n/java/cn/iocoder/mall/promotion/api/bo/CouponCardBO.java
+8
-0
CouponTemplateBO.java
...va/cn/iocoder/mall/promotion/api/bo/CouponTemplateBO.java
+8
-198
CouponTemplatePageBO.java
...n/iocoder/mall/promotion/api/bo/CouponTemplatePageBO.java
+8
-17
ProductRecommendBO.java
.../cn/iocoder/mall/promotion/api/bo/ProductRecommendBO.java
+4
-63
ProductRecommendPageBO.java
...iocoder/mall/promotion/api/bo/ProductRecommendPageBO.java
+9
-20
BannerAddDTO.java
.../java/cn/iocoder/mall/promotion/api/dto/BannerAddDTO.java
+4
-44
BannerPageDTO.java
...java/cn/iocoder/mall/promotion/api/dto/BannerPageDTO.java
+9
-29
BannerUpdateDTO.java
...va/cn/iocoder/mall/promotion/api/dto/BannerUpdateDTO.java
+5
-56
CouponCardTemplateAddDTO.java
...oder/mall/promotion/api/dto/CouponCardTemplateAddDTO.java
+7
-145
CouponCardTemplateUpdateDTO.java
...r/mall/promotion/api/dto/CouponCardTemplateUpdateDTO.java
+8
-1
CouponCodeTemplateAddDTO.java
...oder/mall/promotion/api/dto/CouponCodeTemplateAddDTO.java
+8
-0
CouponCodeTemplateUpdateDTO.java
...r/mall/promotion/api/dto/CouponCodeTemplateUpdateDTO.java
+8
-0
CouponTemplatePageDTO.java
...iocoder/mall/promotion/api/dto/CouponTemplatePageDTO.java
+5
-53
ProductRecommendAddDTO.java
...ocoder/mall/promotion/api/dto/ProductRecommendAddDTO.java
+5
-38
ProductRecommendPageDTO.java
...coder/mall/promotion/api/dto/ProductRecommendPageDTO.java
+9
-29
ProductRecommendUpdateDTO.java
...der/mall/promotion/api/dto/ProductRecommendUpdateDTO.java
+5
-47
pom.xml
promotion/promotion-service-impl/pom.xml
+7
-23
CouponCardDO.java
...n/iocoder/mall/promotion/biz/dataobject/CouponCardDO.java
+4
-0
CouponCodeDO.java
...n/iocoder/mall/promotion/biz/dataobject/CouponCodeDO.java
+5
-55
CouponTemplateDO.java
...coder/mall/promotion/biz/dataobject/CouponTemplateDO.java
+4
-189
ProductRecommendDO.java
...der/mall/promotion/biz/dataobject/ProductRecommendDO.java
+4
-54
CouponTemplateConvertImpl.java
...mall/promotion/biz/convert/CouponTemplateConvertImpl.java
+3
-3
没有找到文件。
pom.xml
浏览文件 @
d5ac7ea8
...
@@ -30,6 +30,12 @@
...
@@ -30,6 +30,12 @@
<mysql-connector-java.version>
5.1.47
</mysql-connector-java.version>
<mysql-connector-java.version>
5.1.47
</mysql-connector-java.version>
<dubbo-spring-boot-starter.version>
0.2.1.RELEASE
</dubbo-spring-boot-starter.version>
<dubbo-spring-boot-starter.version>
0.2.1.RELEASE
</dubbo-spring-boot-starter.version>
<org.mapstruct.version>
1.3.0.Final
</org.mapstruct.version>
<org.mapstruct.version>
1.3.0.Final
</org.mapstruct.version>
<curator.version>
2.12.0
</curator.version>
<springfox-swagger.version>
2.9.2
</springfox-swagger.version>
<mybatis-spring-boot-starter.version>
2.0.0
</mybatis-spring-boot-starter.version>
<xxl-job.version>
2.0.1
</xxl-job.version>
<guava.version>
27.0.1-jre
</guava.version>
<rocketmq-spring-boot-starter.version>
2.0.1
</rocketmq-spring-boot-starter.version>
<maven-compiler-plugin.version>
3.8.0
</maven-compiler-plugin.version>
<maven-compiler-plugin.version>
3.8.0
</maven-compiler-plugin.version>
<org.projectlombok.version>
1.16.14
</org.projectlombok.version>
<org.projectlombok.version>
1.16.14
</org.projectlombok.version>
...
@@ -73,6 +79,47 @@
...
@@ -73,6 +79,47 @@
<version>
${org.projectlombok.version}
</version>
<version>
${org.projectlombok.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
org.apache.curator
</groupId>
<artifactId>
curator-framework
</artifactId>
<version>
${curator.version}
</version>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
<version>
${springfox-swagger.version}
</version>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger-ui
</artifactId>
<version>
${springfox-swagger.version}
</version>
</dependency>
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<version>
${mybatis-spring-boot-starter.version}
</version>
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
<version>
${guava.version}
</version>
</dependency>
<dependency>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job-core
</artifactId>
<version>
${xxl-job.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.rocketmq
</groupId>
<artifactId>
rocketmq-spring-boot-starter
</artifactId>
<version>
${rocketmq-spring-boot-starter.version}
</version>
</dependency>
</dependencies>
</dependencies>
</dependencyManagement>
</dependencyManagement>
...
...
promotion/promotion-application/pom.xml
浏览文件 @
d5ac7ea8
...
@@ -33,13 +33,11 @@
...
@@ -33,13 +33,11 @@
<groupId>
cn.iocoder.mall
</groupId>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
user-service-api
</artifactId>
<artifactId>
user-service-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
user-sdk
</artifactId>
<artifactId>
user-sdk
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
</dependency>
<dependency>
<dependency>
...
@@ -65,24 +63,20 @@
...
@@ -65,24 +63,20 @@
<dependency>
<dependency>
<groupId>
com.alibaba.boot
</groupId>
<groupId>
com.alibaba.boot
</groupId>
<artifactId>
dubbo-spring-boot-starter
</artifactId>
<artifactId>
dubbo-spring-boot-starter
</artifactId>
<version>
0.2.1.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.apache.curator
</groupId>
<groupId>
org.apache.curator
</groupId>
<artifactId>
curator-framework
</artifactId>
<artifactId>
curator-framework
</artifactId>
<version>
2.12.0
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
<artifactId>
springfox-swagger2
</artifactId>
<version>
2.9.2
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger-ui
</artifactId>
<artifactId>
springfox-swagger-ui
</artifactId>
<version>
2.9.2
</version>
</dependency>
</dependency>
<dependency>
<dependency>
...
...
promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsBannerPageVO.java
浏览文件 @
d5ac7ea8
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.promotion.application.vo.admins;
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.promotion.application.vo.admins;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
import
java.util.List
;
@ApiModel
(
"Banner 分页 VO"
)
@ApiModel
(
"Banner 分页 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
AdminsBannerPageVO
{
public
class
AdminsBannerPageVO
{
@ApiModelProperty
(
value
=
"Banner 数组"
)
@ApiModelProperty
(
value
=
"Banner 数组"
)
...
@@ -13,22 +17,4 @@ public class AdminsBannerPageVO {
...
@@ -13,22 +17,4 @@ public class AdminsBannerPageVO {
@ApiModelProperty
(
value
=
"Banner 总数"
)
@ApiModelProperty
(
value
=
"Banner 总数"
)
private
Integer
total
;
private
Integer
total
;
public
List
<
AdminsBannerVO
>
getList
()
{
}
return
list
;
}
public
AdminsBannerPageVO
setList
(
List
<
AdminsBannerVO
>
list
)
{
this
.
list
=
list
;
return
this
;
}
public
Integer
getTotal
()
{
return
total
;
}
public
AdminsBannerPageVO
setTotal
(
Integer
total
)
{
this
.
total
=
total
;
return
this
;
}
}
\ No newline at end of file
promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsCouponTemplatePageVO.java
浏览文件 @
d5ac7ea8
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.promotion.application.vo.admins;
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.promotion.application.vo.admins;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
import
java.util.List
;
@ApiModel
(
"优惠劵(码)分页 VO"
)
@ApiModel
(
"优惠劵(码)分页 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
AdminsCouponTemplatePageVO
{
public
class
AdminsCouponTemplatePageVO
{
@ApiModelProperty
(
value
=
"优惠劵(码)数组"
)
@ApiModelProperty
(
value
=
"优惠劵(码)数组"
)
...
@@ -13,22 +17,4 @@ public class AdminsCouponTemplatePageVO {
...
@@ -13,22 +17,4 @@ public class AdminsCouponTemplatePageVO {
@ApiModelProperty
(
value
=
"优惠劵(码)总数"
)
@ApiModelProperty
(
value
=
"优惠劵(码)总数"
)
private
Integer
total
;
private
Integer
total
;
public
List
<
AdminsCouponTemplateVO
>
getList
()
{
return
list
;
}
public
AdminsCouponTemplatePageVO
setList
(
List
<
AdminsCouponTemplateVO
>
list
)
{
this
.
list
=
list
;
return
this
;
}
public
Integer
getTotal
()
{
return
total
;
}
public
AdminsCouponTemplatePageVO
setTotal
(
Integer
total
)
{
this
.
total
=
total
;
return
this
;
}
}
}
promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsCouponTemplateVO.java
浏览文件 @
d5ac7ea8
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.promotion.application.vo.admins;
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.promotion.application.vo.admins;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
java.util.Date
;
@ApiModel
(
"CouponTemplate VO"
)
@ApiModel
(
"CouponTemplate VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
AdminsCouponTemplateVO
{
public
class
AdminsCouponTemplateVO
{
// ========== 基本信息 BEGIN ==========
// ========== 基本信息 BEGIN ==========
...
@@ -73,201 +77,4 @@ public class AdminsCouponTemplateVO {
...
@@ -73,201 +77,4 @@ public class AdminsCouponTemplateVO {
@ApiModelProperty
(
value
=
"折扣上限"
,
required
=
true
)
@ApiModelProperty
(
value
=
"折扣上限"
,
required
=
true
)
private
Date
createTime
;
private
Date
createTime
;
public
Integer
getId
()
{
return
id
;
}
public
AdminsCouponTemplateVO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getTitle
()
{
return
title
;
}
public
AdminsCouponTemplateVO
setTitle
(
String
title
)
{
this
.
title
=
title
;
return
this
;
}
public
String
getDescription
()
{
return
description
;
}
public
AdminsCouponTemplateVO
setDescription
(
String
description
)
{
this
.
description
=
description
;
return
this
;
}
public
Integer
getType
()
{
return
type
;
}
public
AdminsCouponTemplateVO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
public
Integer
getCodeType
()
{
return
codeType
;
}
public
AdminsCouponTemplateVO
setCodeType
(
Integer
codeType
)
{
this
.
codeType
=
codeType
;
return
this
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
AdminsCouponTemplateVO
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
return
this
;
}
public
Integer
getQuota
()
{
return
quota
;
}
public
AdminsCouponTemplateVO
setQuota
(
Integer
quota
)
{
this
.
quota
=
quota
;
return
this
;
}
public
Integer
getPriceAvailable
()
{
return
priceAvailable
;
}
public
AdminsCouponTemplateVO
setPriceAvailable
(
Integer
priceAvailable
)
{
this
.
priceAvailable
=
priceAvailable
;
return
this
;
}
public
Integer
getRangeType
()
{
return
rangeType
;
}
public
AdminsCouponTemplateVO
setRangeType
(
Integer
rangeType
)
{
this
.
rangeType
=
rangeType
;
return
this
;
}
public
String
getRangeValues
()
{
return
rangeValues
;
}
public
AdminsCouponTemplateVO
setRangeValues
(
String
rangeValues
)
{
this
.
rangeValues
=
rangeValues
;
return
this
;
}
public
Integer
getDateType
()
{
return
dateType
;
}
public
AdminsCouponTemplateVO
setDateType
(
Integer
dateType
)
{
this
.
dateType
=
dateType
;
return
this
;
}
public
Date
getValidStartTime
()
{
return
validStartTime
;
}
public
AdminsCouponTemplateVO
setValidStartTime
(
Date
validStartTime
)
{
this
.
validStartTime
=
validStartTime
;
return
this
;
}
public
Date
getValidEndTime
()
{
return
validEndTime
;
}
public
AdminsCouponTemplateVO
setValidEndTime
(
Date
validEndTime
)
{
this
.
validEndTime
=
validEndTime
;
return
this
;
}
public
Integer
getFixedStartTerm
()
{
return
fixedStartTerm
;
}
public
AdminsCouponTemplateVO
setFixedStartTerm
(
Integer
fixedStartTerm
)
{
this
.
fixedStartTerm
=
fixedStartTerm
;
return
this
;
}
public
Integer
getFixedEndTerm
()
{
return
fixedEndTerm
;
}
public
AdminsCouponTemplateVO
setFixedEndTerm
(
Integer
fixedEndTerm
)
{
this
.
fixedEndTerm
=
fixedEndTerm
;
return
this
;
}
public
Integer
getPreferentialType
()
{
return
preferentialType
;
}
public
AdminsCouponTemplateVO
setPreferentialType
(
Integer
preferentialType
)
{
this
.
preferentialType
=
preferentialType
;
return
this
;
}
public
Integer
getPercentOff
()
{
return
percentOff
;
}
public
AdminsCouponTemplateVO
setPercentOff
(
Integer
percentOff
)
{
this
.
percentOff
=
percentOff
;
return
this
;
}
public
Integer
getPriceOff
()
{
return
priceOff
;
}
public
AdminsCouponTemplateVO
setPriceOff
(
Integer
priceOff
)
{
this
.
priceOff
=
priceOff
;
return
this
;
}
public
Integer
getDiscountPriceLimit
()
{
return
discountPriceLimit
;
}
public
AdminsCouponTemplateVO
setDiscountPriceLimit
(
Integer
discountPriceLimit
)
{
this
.
discountPriceLimit
=
discountPriceLimit
;
return
this
;
}
public
Integer
getStatFetchNum
()
{
return
statFetchNum
;
}
public
AdminsCouponTemplateVO
setStatFetchNum
(
Integer
statFetchNum
)
{
this
.
statFetchNum
=
statFetchNum
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
AdminsCouponTemplateVO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
public
Integer
getTotal
()
{
return
total
;
}
public
AdminsCouponTemplateVO
setTotal
(
Integer
total
)
{
this
.
total
=
total
;
return
this
;
}
}
}
promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsProductRecommendPageVO.java
浏览文件 @
d5ac7ea8
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.promotion.application.vo.admins;
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.promotion.application.vo.admins;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
import
java.util.List
;
@ApiModel
(
"商品推荐分页 VO"
)
@ApiModel
(
"商品推荐分页 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
AdminsProductRecommendPageVO
{
public
class
AdminsProductRecommendPageVO
{
@ApiModelProperty
(
value
=
"商品推荐数组"
)
@ApiModelProperty
(
value
=
"商品推荐数组"
)
...
@@ -13,22 +17,4 @@ public class AdminsProductRecommendPageVO {
...
@@ -13,22 +17,4 @@ public class AdminsProductRecommendPageVO {
@ApiModelProperty
(
value
=
"商品推荐总数"
)
@ApiModelProperty
(
value
=
"商品推荐总数"
)
private
Integer
total
;
private
Integer
total
;
public
List
<
AdminsProductRecommendVO
>
getList
()
{
}
return
list
;
}
public
AdminsProductRecommendPageVO
setList
(
List
<
AdminsProductRecommendVO
>
list
)
{
this
.
list
=
list
;
return
this
;
}
public
Integer
getTotal
()
{
return
total
;
}
public
AdminsProductRecommendPageVO
setTotal
(
Integer
total
)
{
this
.
total
=
total
;
return
this
;
}
}
\ No newline at end of file
promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/admins/AdminsProductRecommendVO.java
浏览文件 @
d5ac7ea8
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.promotion.application.vo.admins;
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.promotion.application.vo.admins;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
java.util.Date
;
@ApiModel
(
"商品推荐 VO"
)
@ApiModel
(
"商品推荐 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
AdminsProductRecommendVO
{
public
class
AdminsProductRecommendVO
{
@ApiModelProperty
(
value
=
"编号"
,
required
=
true
,
example
=
"1"
)
@ApiModelProperty
(
value
=
"编号"
,
required
=
true
,
example
=
"1"
)
...
@@ -23,66 +27,4 @@ public class AdminsProductRecommendVO {
...
@@ -23,66 +27,4 @@ public class AdminsProductRecommendVO {
@ApiModelProperty
(
value
=
"创建时间"
,
required
=
true
,
example
=
"时间戳格式"
)
@ApiModelProperty
(
value
=
"创建时间"
,
required
=
true
,
example
=
"时间戳格式"
)
private
Date
createTime
;
private
Date
createTime
;
public
Integer
getId
()
{
}
return
id
;
}
public
AdminsProductRecommendVO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Integer
getType
()
{
return
type
;
}
public
AdminsProductRecommendVO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
public
Integer
getProductSpuId
()
{
return
productSpuId
;
}
public
AdminsProductRecommendVO
setProductSpuId
(
Integer
productSpuId
)
{
this
.
productSpuId
=
productSpuId
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
AdminsProductRecommendVO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
AdminsProductRecommendVO
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
return
this
;
}
public
String
getMemo
()
{
return
memo
;
}
public
AdminsProductRecommendVO
setMemo
(
String
memo
)
{
this
.
memo
=
memo
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
AdminsProductRecommendVO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
}
\ No newline at end of file
promotion/promotion-application/src/main/java/cn/iocoder/mall/promotion/application/vo/users/UsersProductRecommendVO.java
浏览文件 @
d5ac7ea8
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.promotion.application.vo.users;
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.promotion.application.vo.users;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
import
java.util.List
;
@ApiModel
(
value
=
"商品推荐 VO"
,
description
=
"不包括 SKU 信息 VO"
)
@ApiModel
(
value
=
"商品推荐 VO"
,
description
=
"不包括 SKU 信息 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
UsersProductRecommendVO
{
public
class
UsersProductRecommendVO
{
@ApiModelProperty
(
value
=
"商品 SPU 编号"
,
required
=
true
,
example
=
"1"
)
@ApiModelProperty
(
value
=
"商品 SPU 编号"
,
required
=
true
,
example
=
"1"
)
...
@@ -27,49 +31,4 @@ public class UsersProductRecommendVO {
...
@@ -27,49 +31,4 @@ public class UsersProductRecommendVO {
*/
*/
private
Integer
price
;
private
Integer
price
;
public
Integer
getId
()
{
}
return
id
;
}
public
UsersProductRecommendVO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
UsersProductRecommendVO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
String
getSellPoint
()
{
return
sellPoint
;
}
public
UsersProductRecommendVO
setSellPoint
(
String
sellPoint
)
{
this
.
sellPoint
=
sellPoint
;
return
this
;
}
public
List
<
String
>
getPicUrls
()
{
return
picUrls
;
}
public
UsersProductRecommendVO
setPicUrls
(
List
<
String
>
picUrls
)
{
this
.
picUrls
=
picUrls
;
return
this
;
}
public
Integer
getPrice
()
{
return
price
;
}
public
UsersProductRecommendVO
setPrice
(
Integer
price
)
{
this
.
price
=
price
;
return
this
;
}
}
\ No newline at end of file
promotion/promotion-service-api/pom.xml
浏览文件 @
d5ac7ea8
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
promotion-service-api
</artifactId>
<artifactId>
promotion-service-api
</artifactId>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
javax.validation
</groupId>
<groupId>
javax.validation
</groupId>
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
<groupId>
cn.iocoder.mall
</groupId>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
common-framework
</artifactId>
<artifactId>
common-framework
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
</dependency>
<dependency>
<dependency>
...
...
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/bo/BannerPageBO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
bo
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
import
java.util.List
;
/**
* Banner 分页 BO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
BannerPageBO
{
public
class
BannerPageBO
{
/**
/**
...
@@ -13,22 +21,4 @@ public class BannerPageBO {
...
@@ -13,22 +21,4 @@ public class BannerPageBO {
*/
*/
private
Integer
total
;
private
Integer
total
;
public
List
<
BannerBO
>
getList
()
{
}
return
list
;
}
public
BannerPageBO
setList
(
List
<
BannerBO
>
list
)
{
this
.
list
=
list
;
return
this
;
}
public
Integer
getTotal
()
{
return
total
;
}
public
BannerPageBO
setTotal
(
Integer
total
)
{
this
.
total
=
total
;
return
this
;
}
}
\ No newline at end of file
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/bo/CouponCardBO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
bo
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
/**
* 优惠劵 BO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
CouponCardBO
{
public
class
CouponCardBO
{
}
}
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/bo/CouponTemplateBO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
bo
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
java.util.Date
;
/**
* 优惠劵(码)模板 BO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
CouponTemplateBO
{
public
class
CouponTemplateBO
{
// ========== 基本信息 BEGIN ==========
// ========== 基本信息 BEGIN ==========
...
@@ -143,202 +151,4 @@ public class CouponTemplateBO {
...
@@ -143,202 +151,4 @@ public class CouponTemplateBO {
*/
*/
private
Date
createTime
;
private
Date
createTime
;
public
Integer
getId
()
{
return
id
;
}
public
CouponTemplateBO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getTitle
()
{
return
title
;
}
public
CouponTemplateBO
setTitle
(
String
title
)
{
this
.
title
=
title
;
return
this
;
}
public
String
getDescription
()
{
return
description
;
}
public
CouponTemplateBO
setDescription
(
String
description
)
{
this
.
description
=
description
;
return
this
;
}
public
Integer
getType
()
{
return
type
;
}
public
CouponTemplateBO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
public
Integer
getCodeType
()
{
return
codeType
;
}
public
CouponTemplateBO
setCodeType
(
Integer
codeType
)
{
this
.
codeType
=
codeType
;
return
this
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
CouponTemplateBO
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
return
this
;
}
public
Integer
getQuota
()
{
return
quota
;
}
public
CouponTemplateBO
setQuota
(
Integer
quota
)
{
this
.
quota
=
quota
;
return
this
;
}
public
Integer
getTotal
()
{
return
total
;
}
public
CouponTemplateBO
setTotal
(
Integer
total
)
{
this
.
total
=
total
;
return
this
;
}
public
Integer
getPriceAvailable
()
{
return
priceAvailable
;
}
public
CouponTemplateBO
setPriceAvailable
(
Integer
priceAvailable
)
{
this
.
priceAvailable
=
priceAvailable
;
return
this
;
}
public
Integer
getRangeType
()
{
return
rangeType
;
}
public
CouponTemplateBO
setRangeType
(
Integer
rangeType
)
{
this
.
rangeType
=
rangeType
;
return
this
;
}
public
String
getRangeValues
()
{
return
rangeValues
;
}
public
CouponTemplateBO
setRangeValues
(
String
rangeValues
)
{
this
.
rangeValues
=
rangeValues
;
return
this
;
}
public
Integer
getDateType
()
{
return
dateType
;
}
public
CouponTemplateBO
setDateType
(
Integer
dateType
)
{
this
.
dateType
=
dateType
;
return
this
;
}
public
Date
getValidStartTime
()
{
return
validStartTime
;
}
public
CouponTemplateBO
setValidStartTime
(
Date
validStartTime
)
{
this
.
validStartTime
=
validStartTime
;
return
this
;
}
public
Date
getValidEndTime
()
{
return
validEndTime
;
}
public
CouponTemplateBO
setValidEndTime
(
Date
validEndTime
)
{
this
.
validEndTime
=
validEndTime
;
return
this
;
}
public
Integer
getPreferentialType
()
{
return
preferentialType
;
}
public
CouponTemplateBO
setPreferentialType
(
Integer
preferentialType
)
{
this
.
preferentialType
=
preferentialType
;
return
this
;
}
public
Integer
getPercentOff
()
{
return
percentOff
;
}
public
CouponTemplateBO
setPercentOff
(
Integer
percentOff
)
{
this
.
percentOff
=
percentOff
;
return
this
;
}
public
Integer
getPriceOff
()
{
return
priceOff
;
}
public
CouponTemplateBO
setPriceOff
(
Integer
priceOff
)
{
this
.
priceOff
=
priceOff
;
return
this
;
}
public
Integer
getDiscountPriceLimit
()
{
return
discountPriceLimit
;
}
public
CouponTemplateBO
setDiscountPriceLimit
(
Integer
discountPriceLimit
)
{
this
.
discountPriceLimit
=
discountPriceLimit
;
return
this
;
}
public
Integer
getStatFetchNum
()
{
return
statFetchNum
;
}
public
CouponTemplateBO
setStatFetchNum
(
Integer
statFetchNum
)
{
this
.
statFetchNum
=
statFetchNum
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
CouponTemplateBO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
public
Integer
getFixedStartTerm
()
{
return
fixedStartTerm
;
}
public
CouponTemplateBO
setFixedStartTerm
(
Integer
fixedStartTerm
)
{
this
.
fixedStartTerm
=
fixedStartTerm
;
return
this
;
}
public
Integer
getFixedEndTerm
()
{
return
fixedEndTerm
;
}
public
CouponTemplateBO
setFixedEndTerm
(
Integer
fixedEndTerm
)
{
this
.
fixedEndTerm
=
fixedEndTerm
;
return
this
;
}
}
}
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/bo/CouponTemplatePageBO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
bo
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
import
java.util.List
;
/**
* 优惠劵(码)模板分页 BO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
CouponTemplatePageBO
{
public
class
CouponTemplatePageBO
{
/**
/**
...
@@ -13,21 +21,4 @@ public class CouponTemplatePageBO {
...
@@ -13,21 +21,4 @@ public class CouponTemplatePageBO {
*/
*/
private
Integer
total
;
private
Integer
total
;
public
CouponTemplatePageBO
setList
(
List
<
CouponTemplateBO
>
list
)
{
this
.
list
=
list
;
return
this
;
}
public
CouponTemplatePageBO
setTotal
(
Integer
total
)
{
this
.
total
=
total
;
return
this
;
}
public
List
<
CouponTemplateBO
>
getList
()
{
return
list
;
}
public
Integer
getTotal
()
{
return
total
;
}
}
}
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/bo/ProductRecommendBO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
bo
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
bo
;
import
cn.iocoder.mall.promotion.api.constant.ProductRecommendTypeEnum
;
import
cn.iocoder.mall.promotion.api.constant.ProductRecommendTypeEnum
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
java.util.Date
;
/**
/**
* 商品推荐 BO
* 商品推荐 BO
*/
*/
@Data
@Accessors
(
chain
=
true
)
public
class
ProductRecommendBO
{
public
class
ProductRecommendBO
{
/**
/**
...
@@ -42,67 +46,4 @@ public class ProductRecommendBO {
...
@@ -42,67 +46,4 @@ public class ProductRecommendBO {
*/
*/
private
Date
createTime
;
private
Date
createTime
;
public
Integer
getId
()
{
return
id
;
}
public
ProductRecommendBO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Integer
getType
()
{
return
type
;
}
public
ProductRecommendBO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
public
Integer
getProductSpuId
()
{
return
productSpuId
;
}
public
ProductRecommendBO
setProductSpuId
(
Integer
productSpuId
)
{
this
.
productSpuId
=
productSpuId
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
ProductRecommendBO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
ProductRecommendBO
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
return
this
;
}
public
String
getMemo
()
{
return
memo
;
}
public
ProductRecommendBO
setMemo
(
String
memo
)
{
this
.
memo
=
memo
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
ProductRecommendBO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
}
}
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/bo/ProductRecommendPageBO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
bo
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
import
java.util.List
;
/**
* 商品推荐分页 BO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
ProductRecommendPageBO
{
public
class
ProductRecommendPageBO
{
/**
/**
...
@@ -13,22 +21,4 @@ public class ProductRecommendPageBO {
...
@@ -13,22 +21,4 @@ public class ProductRecommendPageBO {
*/
*/
private
Integer
total
;
private
Integer
total
;
public
List
<
ProductRecommendBO
>
getList
()
{
}
return
list
;
}
public
ProductRecommendPageBO
setList
(
List
<
ProductRecommendBO
>
list
)
{
this
.
list
=
list
;
return
this
;
}
public
Integer
getTotal
()
{
return
total
;
}
public
ProductRecommendPageBO
setTotal
(
Integer
total
)
{
this
.
total
=
total
;
return
this
;
}
}
\ No newline at end of file
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/dto/BannerAddDTO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.URL
;
import
org.hibernate.validator.constraints.URL
;
...
@@ -9,6 +11,8 @@ import javax.validation.constraints.NotNull;
...
@@ -9,6 +11,8 @@ import javax.validation.constraints.NotNull;
/**
/**
* Banner 添加 DTO
* Banner 添加 DTO
*/
*/
@Data
@Accessors
(
chain
=
true
)
public
class
BannerAddDTO
{
public
class
BannerAddDTO
{
@NotEmpty
(
message
=
"标题不能为空"
)
@NotEmpty
(
message
=
"标题不能为空"
)
...
@@ -27,48 +31,4 @@ public class BannerAddDTO {
...
@@ -27,48 +31,4 @@ public class BannerAddDTO {
@Length
(
max
=
255
,
message
=
"备注最大长度为 255 位"
)
@Length
(
max
=
255
,
message
=
"备注最大长度为 255 位"
)
private
String
memo
;
private
String
memo
;
public
String
getTitle
()
{
return
title
;
}
public
BannerAddDTO
setTitle
(
String
title
)
{
this
.
title
=
title
;
return
this
;
}
public
String
getUrl
()
{
return
url
;
}
public
BannerAddDTO
setUrl
(
String
url
)
{
this
.
url
=
url
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
BannerAddDTO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getMemo
()
{
return
memo
;
}
public
BannerAddDTO
setMemo
(
String
memo
)
{
this
.
memo
=
memo
;
return
this
;
}
public
String
getPicUrl
()
{
return
picUrl
;
}
public
BannerAddDTO
setPicUrl
(
String
picUrl
)
{
this
.
picUrl
=
picUrl
;
return
this
;
}
}
}
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/dto/BannerPageDTO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
/**
* Banner 分页 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
BannerPageDTO
{
public
class
BannerPageDTO
{
/**
/**
...
@@ -14,31 +22,4 @@ public class BannerPageDTO {
...
@@ -14,31 +22,4 @@ public class BannerPageDTO {
@NotNull
(
message
=
"每页条数不能为空"
)
@NotNull
(
message
=
"每页条数不能为空"
)
private
Integer
pageSize
;
private
Integer
pageSize
;
public
Integer
getPageNo
()
{
}
return
pageNo
;
}
public
BannerPageDTO
setPageNo
(
Integer
pageNo
)
{
this
.
pageNo
=
pageNo
;
return
this
;
}
public
Integer
getPageSize
()
{
return
pageSize
;
}
public
BannerPageDTO
setPageSize
(
Integer
pageSize
)
{
this
.
pageSize
=
pageSize
;
return
this
;
}
public
String
getTitle
()
{
return
title
;
}
public
BannerPageDTO
setTitle
(
String
title
)
{
this
.
title
=
title
;
return
this
;
}
}
\ No newline at end of file
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/dto/BannerUpdateDTO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.URL
;
import
org.hibernate.validator.constraints.URL
;
...
@@ -9,6 +11,8 @@ import javax.validation.constraints.NotNull;
...
@@ -9,6 +11,8 @@ import javax.validation.constraints.NotNull;
/**
/**
* Banner 更新 DTO
* Banner 更新 DTO
*/
*/
@Data
@Accessors
(
chain
=
true
)
public
class
BannerUpdateDTO
{
public
class
BannerUpdateDTO
{
@NotNull
(
message
=
"编号不能为空"
)
@NotNull
(
message
=
"编号不能为空"
)
...
@@ -29,58 +33,4 @@ public class BannerUpdateDTO {
...
@@ -29,58 +33,4 @@ public class BannerUpdateDTO {
@Length
(
max
=
255
,
message
=
"备注最大长度为 255 位"
)
@Length
(
max
=
255
,
message
=
"备注最大长度为 255 位"
)
private
String
memo
;
private
String
memo
;
public
Integer
getId
()
{
}
return
id
;
}
public
BannerUpdateDTO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getTitle
()
{
return
title
;
}
public
BannerUpdateDTO
setTitle
(
String
title
)
{
this
.
title
=
title
;
return
this
;
}
public
String
getUrl
()
{
return
url
;
}
public
BannerUpdateDTO
setUrl
(
String
url
)
{
this
.
url
=
url
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
BannerUpdateDTO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getMemo
()
{
return
memo
;
}
public
BannerUpdateDTO
setMemo
(
String
memo
)
{
this
.
memo
=
memo
;
return
this
;
}
public
String
getPicUrl
()
{
return
picUrl
;
}
public
BannerUpdateDTO
setPicUrl
(
String
picUrl
)
{
this
.
picUrl
=
picUrl
;
return
this
;
}
}
\ No newline at end of file
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/dto/CouponCardTemplateAddDTO.java
浏览文件 @
d5ac7ea8
...
@@ -4,6 +4,8 @@ import cn.iocoder.common.framework.validator.InEnum;
...
@@ -4,6 +4,8 @@ import cn.iocoder.common.framework.validator.InEnum;
import
cn.iocoder.mall.promotion.api.constant.CouponTemplateDateTypeEnum
;
import
cn.iocoder.mall.promotion.api.constant.CouponTemplateDateTypeEnum
;
import
cn.iocoder.mall.promotion.api.constant.CouponTemplatePreferentialTypeEnum
;
import
cn.iocoder.mall.promotion.api.constant.CouponTemplatePreferentialTypeEnum
;
import
cn.iocoder.mall.promotion.api.constant.CouponTemplateRangeTypeEnum
;
import
cn.iocoder.mall.promotion.api.constant.CouponTemplateRangeTypeEnum
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.Max
;
import
javax.validation.constraints.Max
;
...
@@ -12,6 +14,11 @@ import javax.validation.constraints.NotEmpty;
...
@@ -12,6 +14,11 @@ import javax.validation.constraints.NotEmpty;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
import
java.util.Date
;
import
java.util.Date
;
/**
* 优惠劵模板添加 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
CouponCardTemplateAddDTO
{
public
class
CouponCardTemplateAddDTO
{
// ========== 基本信息 BEGIN ==========
// ========== 基本信息 BEGIN ==========
...
@@ -132,149 +139,4 @@ public class CouponCardTemplateAddDTO {
...
@@ -132,149 +139,4 @@ public class CouponCardTemplateAddDTO {
private
Integer
discountPriceLimit
;
private
Integer
discountPriceLimit
;
// ========== 使用效果 END ==========
// ========== 使用效果 END ==========
public
String
getTitle
()
{
return
title
;
}
public
CouponCardTemplateAddDTO
setTitle
(
String
title
)
{
this
.
title
=
title
;
return
this
;
}
public
String
getDescription
()
{
return
description
;
}
public
CouponCardTemplateAddDTO
setDescription
(
String
description
)
{
this
.
description
=
description
;
return
this
;
}
public
Integer
getQuota
()
{
return
quota
;
}
public
CouponCardTemplateAddDTO
setQuota
(
Integer
quota
)
{
this
.
quota
=
quota
;
return
this
;
}
public
Integer
getPriceAvailable
()
{
return
priceAvailable
;
}
public
CouponCardTemplateAddDTO
setPriceAvailable
(
Integer
priceAvailable
)
{
this
.
priceAvailable
=
priceAvailable
;
return
this
;
}
public
Integer
getRangeType
()
{
return
rangeType
;
}
public
CouponCardTemplateAddDTO
setRangeType
(
Integer
rangeType
)
{
this
.
rangeType
=
rangeType
;
return
this
;
}
public
String
getRangeValues
()
{
return
rangeValues
;
}
public
CouponCardTemplateAddDTO
setRangeValues
(
String
rangeValues
)
{
this
.
rangeValues
=
rangeValues
;
return
this
;
}
public
Integer
getDateType
()
{
return
dateType
;
}
public
CouponCardTemplateAddDTO
setDateType
(
Integer
dateType
)
{
this
.
dateType
=
dateType
;
return
this
;
}
public
Date
getValidStartTime
()
{
return
validStartTime
;
}
public
CouponCardTemplateAddDTO
setValidStartTime
(
Date
validStartTime
)
{
this
.
validStartTime
=
validStartTime
;
return
this
;
}
public
Date
getValidEndTime
()
{
return
validEndTime
;
}
public
CouponCardTemplateAddDTO
setValidEndTime
(
Date
validEndTime
)
{
this
.
validEndTime
=
validEndTime
;
return
this
;
}
public
Integer
getFixedBeginTerm
()
{
return
fixedBeginTerm
;
}
public
CouponCardTemplateAddDTO
setFixedBeginTerm
(
Integer
fixedBeginTerm
)
{
this
.
fixedBeginTerm
=
fixedBeginTerm
;
return
this
;
}
public
Integer
getFixedEndTerm
()
{
return
fixedEndTerm
;
}
public
CouponCardTemplateAddDTO
setFixedEndTerm
(
Integer
fixedEndTerm
)
{
this
.
fixedEndTerm
=
fixedEndTerm
;
return
this
;
}
public
Integer
getPreferentialType
()
{
return
preferentialType
;
}
public
CouponCardTemplateAddDTO
setPreferentialType
(
Integer
preferentialType
)
{
this
.
preferentialType
=
preferentialType
;
return
this
;
}
public
Integer
getPercentOff
()
{
return
percentOff
;
}
public
CouponCardTemplateAddDTO
setPercentOff
(
Integer
percentOff
)
{
this
.
percentOff
=
percentOff
;
return
this
;
}
public
Integer
getPriceOff
()
{
return
priceOff
;
}
public
CouponCardTemplateAddDTO
setPriceOff
(
Integer
priceOff
)
{
this
.
priceOff
=
priceOff
;
return
this
;
}
public
Integer
getDiscountPriceLimit
()
{
return
discountPriceLimit
;
}
public
CouponCardTemplateAddDTO
setDiscountPriceLimit
(
Integer
discountPriceLimit
)
{
this
.
discountPriceLimit
=
discountPriceLimit
;
return
this
;
}
public
Integer
getTotal
()
{
return
total
;
}
public
CouponCardTemplateAddDTO
setTotal
(
Integer
total
)
{
this
.
total
=
total
;
return
this
;
}
}
}
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/dto/CouponCardTemplateUpdateDTO.java
浏览文件 @
d5ac7ea8
...
@@ -2,15 +2,22 @@ package cn.iocoder.mall.promotion.api.dto;
...
@@ -2,15 +2,22 @@ package cn.iocoder.mall.promotion.api.dto;
import
cn.iocoder.common.framework.validator.InEnum
;
import
cn.iocoder.common.framework.validator.InEnum
;
import
cn.iocoder.mall.promotion.api.constant.CouponTemplateRangeTypeEnum
;
import
cn.iocoder.mall.promotion.api.constant.CouponTemplateRangeTypeEnum
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.Min
;
import
javax.validation.constraints.Min
;
import
javax.validation.constraints.NotEmpty
;
import
javax.validation.constraints.NotEmpty
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
/**
* 优惠劵模板更新 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
CouponCardTemplateUpdateDTO
{
public
class
CouponCardTemplateUpdateDTO
{
@NotNull
(
message
=
"编号不能为空"
)
@NotNull
(
message
=
"编号不能为空"
)
private
Integer
id
;
private
Integer
id
;
// ========== 基本信息 BEGIN ==========
// ========== 基本信息 BEGIN ==========
...
...
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/dto/CouponCodeTemplateAddDTO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
/**
* 优惠码模板添加 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
CouponCodeTemplateAddDTO
{
public
class
CouponCodeTemplateAddDTO
{
}
}
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/dto/CouponCodeTemplateUpdateDTO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
/**
* 优惠码模板更新 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
CouponCodeTemplateUpdateDTO
{
public
class
CouponCodeTemplateUpdateDTO
{
}
}
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/dto/CouponTemplatePageDTO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
/**
/**
* 优惠劵模板分页 DTO
* 优惠劵模板分页 DTO
*/
*/
@Data
@Accessors
(
chain
=
true
)
public
class
CouponTemplatePageDTO
{
public
class
CouponTemplatePageDTO
{
/**
/**
...
@@ -29,57 +34,4 @@ public class CouponTemplatePageDTO {
...
@@ -29,57 +34,4 @@ public class CouponTemplatePageDTO {
@NotNull
(
message
=
"每页条数不能为空"
)
@NotNull
(
message
=
"每页条数不能为空"
)
private
Integer
pageSize
;
private
Integer
pageSize
;
public
Integer
getType
()
{
return
type
;
}
public
CouponTemplatePageDTO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
public
String
getTitle
()
{
return
title
;
}
public
CouponTemplatePageDTO
setTitle
(
String
title
)
{
this
.
title
=
title
;
return
this
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
CouponTemplatePageDTO
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
return
this
;
}
public
Integer
getPreferentialType
()
{
return
preferentialType
;
}
public
CouponTemplatePageDTO
setPreferentialType
(
Integer
preferentialType
)
{
this
.
preferentialType
=
preferentialType
;
return
this
;
}
public
Integer
getPageNo
()
{
return
pageNo
;
}
public
CouponTemplatePageDTO
setPageNo
(
Integer
pageNo
)
{
this
.
pageNo
=
pageNo
;
return
this
;
}
public
Integer
getPageSize
()
{
return
pageSize
;
}
public
CouponTemplatePageDTO
setPageSize
(
Integer
pageSize
)
{
this
.
pageSize
=
pageSize
;
return
this
;
}
}
}
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/dto/ProductRecommendAddDTO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
...
@@ -7,6 +9,8 @@ import javax.validation.constraints.NotNull;
...
@@ -7,6 +9,8 @@ import javax.validation.constraints.NotNull;
/**
/**
* 商品推荐添加 DTO
* 商品推荐添加 DTO
*/
*/
@Data
@Accessors
(
chain
=
true
)
public
class
ProductRecommendAddDTO
{
public
class
ProductRecommendAddDTO
{
@NotNull
(
message
=
"推荐类型不能为空"
)
@NotNull
(
message
=
"推荐类型不能为空"
)
...
@@ -18,40 +22,4 @@ public class ProductRecommendAddDTO {
...
@@ -18,40 +22,4 @@ public class ProductRecommendAddDTO {
@Length
(
max
=
255
,
message
=
"备注最大长度为 255 位"
)
@Length
(
max
=
255
,
message
=
"备注最大长度为 255 位"
)
private
String
memo
;
private
String
memo
;
public
Integer
getType
()
{
}
return
type
;
}
public
ProductRecommendAddDTO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
public
Integer
getProductSpuId
()
{
return
productSpuId
;
}
public
ProductRecommendAddDTO
setProductSpuId
(
Integer
productSpuId
)
{
this
.
productSpuId
=
productSpuId
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
ProductRecommendAddDTO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getMemo
()
{
return
memo
;
}
public
ProductRecommendAddDTO
setMemo
(
String
memo
)
{
this
.
memo
=
memo
;
return
this
;
}
}
\ No newline at end of file
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/dto/ProductRecommendPageDTO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
/**
* 商品推荐分页 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
ProductRecommendPageDTO
{
public
class
ProductRecommendPageDTO
{
/**
/**
...
@@ -14,31 +22,4 @@ public class ProductRecommendPageDTO {
...
@@ -14,31 +22,4 @@ public class ProductRecommendPageDTO {
@NotNull
(
message
=
"每页条数不能为空"
)
@NotNull
(
message
=
"每页条数不能为空"
)
private
Integer
pageSize
;
private
Integer
pageSize
;
public
Integer
getPageNo
()
{
}
return
pageNo
;
}
public
ProductRecommendPageDTO
setPageNo
(
Integer
pageNo
)
{
this
.
pageNo
=
pageNo
;
return
this
;
}
public
Integer
getPageSize
()
{
return
pageSize
;
}
public
ProductRecommendPageDTO
setPageSize
(
Integer
pageSize
)
{
this
.
pageSize
=
pageSize
;
return
this
;
}
public
Integer
getType
()
{
return
type
;
}
public
ProductRecommendPageDTO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
}
\ No newline at end of file
promotion/promotion-service-api/src/main/java/cn/iocoder/mall/promotion/api/dto/ProductRecommendUpdateDTO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
package
cn
.
iocoder
.
mall
.
promotion
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
...
@@ -7,6 +9,8 @@ import javax.validation.constraints.NotNull;
...
@@ -7,6 +9,8 @@ import javax.validation.constraints.NotNull;
/**
/**
* 商品推荐更新 DTO
* 商品推荐更新 DTO
*/
*/
@Data
@Accessors
(
chain
=
true
)
public
class
ProductRecommendUpdateDTO
{
public
class
ProductRecommendUpdateDTO
{
@NotNull
(
message
=
"编号不能为空"
)
@NotNull
(
message
=
"编号不能为空"
)
...
@@ -20,49 +24,4 @@ public class ProductRecommendUpdateDTO {
...
@@ -20,49 +24,4 @@ public class ProductRecommendUpdateDTO {
@Length
(
max
=
255
,
message
=
"备注最大长度为 255 位"
)
@Length
(
max
=
255
,
message
=
"备注最大长度为 255 位"
)
private
String
memo
;
private
String
memo
;
public
Integer
getId
()
{
}
return
id
;
}
public
ProductRecommendUpdateDTO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Integer
getType
()
{
return
type
;
}
public
ProductRecommendUpdateDTO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
public
Integer
getProductSpuId
()
{
return
productSpuId
;
}
public
ProductRecommendUpdateDTO
setProductSpuId
(
Integer
productSpuId
)
{
this
.
productSpuId
=
productSpuId
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
ProductRecommendUpdateDTO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getMemo
()
{
return
memo
;
}
public
ProductRecommendUpdateDTO
setMemo
(
String
memo
)
{
this
.
memo
=
memo
;
return
this
;
}
}
\ No newline at end of file
promotion/promotion-service-impl/pom.xml
浏览文件 @
d5ac7ea8
...
@@ -21,17 +21,16 @@
...
@@ -21,17 +21,16 @@
<groupId>
cn.iocoder.mall
</groupId>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
admin-service-api
</artifactId>
<artifactId>
admin-service-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
c
om.alibaba
</groupId>
<groupId>
c
n.iocoder.mall
</groupId>
<artifactId>
dubbo
</artifactId>
<artifactId>
product-service-api
</artifactId>
<
scope>
compile
</scope
>
<
version>
1.0-SNAPSHOT
</version
>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<groupId>
com.alibaba
</groupId>
<artifactId>
guava
</artifactId>
<artifactId>
dubbo
</artifactId>
<version>
27.0.1-jre
</version>
</dependency>
</dependency>
<dependency>
<dependency>
...
@@ -46,7 +45,6 @@
...
@@ -46,7 +45,6 @@
<dependency>
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<version>
2.0.0
</version>
</dependency>
</dependency>
<dependency>
<dependency>
...
@@ -57,19 +55,16 @@
...
@@ -57,19 +55,16 @@
<dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
<artifactId>
guava
</artifactId>
<version>
27.0.1-jre
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.xuxueli
</groupId>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job-core
</artifactId>
<artifactId>
xxl-job-core
</artifactId>
<version>
2.0.1
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.apache.rocketmq
</groupId>
<groupId>
org.apache.rocketmq
</groupId>
<artifactId>
rocketmq-spring-boot-starter
</artifactId>
<artifactId>
rocketmq-spring-boot-starter
</artifactId>
<version>
2.0.1
</version>
</dependency>
</dependency>
<!-- test -->
<!-- test -->
...
@@ -78,18 +73,7 @@
...
@@ -78,18 +73,7 @@
<artifactId>
spring-boot-starter-test
</artifactId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
<scope>
test
</scope>
</dependency>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
user-sdk
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
product-service-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
...
...
promotion/promotion-service-impl/src/main/java/cn/iocoder/mall/promotion/biz/dataobject/CouponCardDO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
biz
.
dataobject
;
package
cn
.
iocoder
.
mall
.
promotion
.
biz
.
dataobject
;
import
cn.iocoder.common.framework.dataobject.BaseDO
;
import
cn.iocoder.common.framework.dataobject.BaseDO
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
java.util.Date
;
/**
/**
* 优惠劵 DO
* 优惠劵 DO
*/
*/
@Data
@Accessors
(
chain
=
true
)
public
class
CouponCardDO
extends
BaseDO
{
public
class
CouponCardDO
extends
BaseDO
{
// ========== 基本信息 BEGIN ==========
// ========== 基本信息 BEGIN ==========
...
...
promotion/promotion-service-impl/src/main/java/cn/iocoder/mall/promotion/biz/dataobject/CouponCodeDO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
biz
.
dataobject
;
package
cn
.
iocoder
.
mall
.
promotion
.
biz
.
dataobject
;
import
cn.iocoder.common.framework.dataobject.BaseDO
;
import
cn.iocoder.common.framework.dataobject.BaseDO
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
java.util.Date
;
/**
/**
* 优惠码
* 优惠码
*/
*/
@Data
@Accessors
(
chain
=
true
)
public
class
CouponCodeDO
extends
BaseDO
{
public
class
CouponCodeDO
extends
BaseDO
{
/**
/**
...
@@ -34,57 +38,4 @@ public class CouponCodeDO extends BaseDO {
...
@@ -34,57 +38,4 @@ public class CouponCodeDO extends BaseDO {
*/
*/
private
Integer
couponId
;
private
Integer
couponId
;
public
Integer
getId
()
{
}
return
id
;
}
public
CouponCodeDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Integer
getTemplateId
()
{
return
templateId
;
}
public
CouponCodeDO
setTemplateId
(
Integer
templateId
)
{
this
.
templateId
=
templateId
;
return
this
;
}
public
Integer
getCode
()
{
return
code
;
}
public
CouponCodeDO
setCode
(
Integer
code
)
{
this
.
code
=
code
;
return
this
;
}
public
Date
getTakeTime
()
{
return
takeTime
;
}
public
CouponCodeDO
setTakeTime
(
Date
takeTime
)
{
this
.
takeTime
=
takeTime
;
return
this
;
}
public
Integer
getUserId
()
{
return
userId
;
}
public
CouponCodeDO
setUserId
(
Integer
userId
)
{
this
.
userId
=
userId
;
return
this
;
}
public
Integer
getCouponId
()
{
return
couponId
;
}
public
CouponCodeDO
setCouponId
(
Integer
couponId
)
{
this
.
couponId
=
couponId
;
return
this
;
}
}
\ No newline at end of file
promotion/promotion-service-impl/src/main/java/cn/iocoder/mall/promotion/biz/dataobject/CouponTemplateDO.java
浏览文件 @
d5ac7ea8
package
cn
.
iocoder
.
mall
.
promotion
.
biz
.
dataobject
;
package
cn
.
iocoder
.
mall
.
promotion
.
biz
.
dataobject
;
import
cn.iocoder.common.framework.dataobject.BaseDO
;
import
cn.iocoder.common.framework.dataobject.BaseDO
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -9,6 +11,8 @@ import java.util.Date;
...
@@ -9,6 +11,8 @@ import java.util.Date;
*
*
* 当用户领取时,会生成 {@link CouponCardDO} 优惠劵(码)。
* 当用户领取时,会生成 {@link CouponCardDO} 优惠劵(码)。
*/
*/
@Data
@Accessors
(
chain
=
true
)
public
class
CouponTemplateDO
extends
BaseDO
{
public
class
CouponTemplateDO
extends
BaseDO
{
// ========== 基本信息 BEGIN ==========
// ========== 基本信息 BEGIN ==========
...
@@ -208,193 +212,4 @@ public class CouponTemplateDO extends BaseDO {
...
@@ -208,193 +212,4 @@ public class CouponTemplateDO extends BaseDO {
// private Integer statUseNum;
// private Integer statUseNum;
// ========== 统计信息 END ==========
// ========== 统计信息 END ==========
public
Integer
getId
()
{
return
id
;
}
public
CouponTemplateDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getTitle
()
{
return
title
;
}
public
CouponTemplateDO
setTitle
(
String
title
)
{
this
.
title
=
title
;
return
this
;
}
public
String
getDescription
()
{
return
description
;
}
public
CouponTemplateDO
setDescription
(
String
description
)
{
this
.
description
=
description
;
return
this
;
}
public
Integer
getType
()
{
return
type
;
}
public
CouponTemplateDO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
public
Integer
getCodeType
()
{
return
codeType
;
}
public
CouponTemplateDO
setCodeType
(
Integer
codeType
)
{
this
.
codeType
=
codeType
;
return
this
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
CouponTemplateDO
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
return
this
;
}
public
Integer
getQuota
()
{
return
quota
;
}
public
CouponTemplateDO
setQuota
(
Integer
quota
)
{
this
.
quota
=
quota
;
return
this
;
}
public
Integer
getTotal
()
{
return
total
;
}
public
CouponTemplateDO
setTotal
(
Integer
total
)
{
this
.
total
=
total
;
return
this
;
}
public
Integer
getPriceAvailable
()
{
return
priceAvailable
;
}
public
CouponTemplateDO
setPriceAvailable
(
Integer
priceAvailable
)
{
this
.
priceAvailable
=
priceAvailable
;
return
this
;
}
public
Integer
getRangeType
()
{
return
rangeType
;
}
public
CouponTemplateDO
setRangeType
(
Integer
rangeType
)
{
this
.
rangeType
=
rangeType
;
return
this
;
}
public
String
getRangeValues
()
{
return
rangeValues
;
}
public
CouponTemplateDO
setRangeValues
(
String
rangeValues
)
{
this
.
rangeValues
=
rangeValues
;
return
this
;
}
public
Integer
getDateType
()
{
return
dateType
;
}
public
CouponTemplateDO
setDateType
(
Integer
dateType
)
{
this
.
dateType
=
dateType
;
return
this
;
}
public
Date
getValidStartTime
()
{
return
validStartTime
;
}
public
CouponTemplateDO
setValidStartTime
(
Date
validStartTime
)
{
this
.
validStartTime
=
validStartTime
;
return
this
;
}
public
Date
getValidEndTime
()
{
return
validEndTime
;
}
public
CouponTemplateDO
setValidEndTime
(
Date
validEndTime
)
{
this
.
validEndTime
=
validEndTime
;
return
this
;
}
public
Integer
getFixedStartTerm
()
{
return
fixedStartTerm
;
}
public
CouponTemplateDO
setFixedStartTerm
(
Integer
fixedStartTerm
)
{
this
.
fixedStartTerm
=
fixedStartTerm
;
return
this
;
}
public
Integer
getFixedEndTerm
()
{
return
fixedEndTerm
;
}
public
CouponTemplateDO
setFixedEndTerm
(
Integer
fixedEndTerm
)
{
this
.
fixedEndTerm
=
fixedEndTerm
;
return
this
;
}
public
Integer
getPreferentialType
()
{
return
preferentialType
;
}
public
CouponTemplateDO
setPreferentialType
(
Integer
preferentialType
)
{
this
.
preferentialType
=
preferentialType
;
return
this
;
}
public
Integer
getPercentOff
()
{
return
percentOff
;
}
public
CouponTemplateDO
setPercentOff
(
Integer
percentOff
)
{
this
.
percentOff
=
percentOff
;
return
this
;
}
public
Integer
getPriceOff
()
{
return
priceOff
;
}
public
CouponTemplateDO
setPriceOff
(
Integer
priceOff
)
{
this
.
priceOff
=
priceOff
;
return
this
;
}
public
Integer
getDiscountPriceLimit
()
{
return
discountPriceLimit
;
}
public
CouponTemplateDO
setDiscountPriceLimit
(
Integer
discountPriceLimit
)
{
this
.
discountPriceLimit
=
discountPriceLimit
;
return
this
;
}
public
Integer
getStatFetchNum
()
{
return
statFetchNum
;
}
public
CouponTemplateDO
setStatFetchNum
(
Integer
statFetchNum
)
{
this
.
statFetchNum
=
statFetchNum
;
return
this
;
}
}
}
promotion/promotion-service-impl/src/main/java/cn/iocoder/mall/promotion/biz/dataobject/ProductRecommendDO.java
浏览文件 @
d5ac7ea8
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.promotion.biz.dataobject;
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.promotion.biz.dataobject;
import
cn.iocoder.common.framework.dataobject.DeletableDO
;
import
cn.iocoder.common.framework.dataobject.DeletableDO
;
import
cn.iocoder.mall.promotion.api.constant.ProductRecommendTypeEnum
;
import
cn.iocoder.mall.promotion.api.constant.ProductRecommendTypeEnum
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
/**
/**
* 商品推荐 DO
* 商品推荐 DO
*/
*/
@Data
@Accessors
(
chain
=
true
)
public
class
ProductRecommendDO
extends
DeletableDO
{
public
class
ProductRecommendDO
extends
DeletableDO
{
/**
/**
...
@@ -38,58 +42,4 @@ public class ProductRecommendDO extends DeletableDO {
...
@@ -38,58 +42,4 @@ public class ProductRecommendDO extends DeletableDO {
*/
*/
private
String
memo
;
private
String
memo
;
public
Integer
getId
()
{
return
id
;
}
public
ProductRecommendDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Integer
getType
()
{
return
type
;
}
public
ProductRecommendDO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
public
Integer
getProductSpuId
()
{
return
productSpuId
;
}
public
ProductRecommendDO
setProductSpuId
(
Integer
productSpuId
)
{
this
.
productSpuId
=
productSpuId
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
ProductRecommendDO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
ProductRecommendDO
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
return
this
;
}
public
String
getMemo
()
{
return
memo
;
}
public
ProductRecommendDO
setMemo
(
String
memo
)
{
this
.
memo
=
memo
;
return
this
;
}
}
}
promotion/promotion-service-impl/target/generated-sources/annotations/cn/iocoder/mall/promotion/biz/convert/CouponTemplateConvertImpl.java
浏览文件 @
d5ac7ea8
...
@@ -12,7 +12,7 @@ import javax.annotation.Generated;
...
@@ -12,7 +12,7 @@ import javax.annotation.Generated;
@Generated
(
@Generated
(
value
=
"org.mapstruct.ap.MappingProcessor"
,
value
=
"org.mapstruct.ap.MappingProcessor"
,
date
=
"2019-04-06T
01:40:11
+0800"
,
date
=
"2019-04-06T
20:54:04
+0800"
,
comments
=
"version: 1.3.0.Final, compiler: javac, environment: Java 1.8.0_121 (Oracle Corporation)"
comments
=
"version: 1.3.0.Final, compiler: javac, environment: Java 1.8.0_121 (Oracle Corporation)"
)
)
public
class
CouponTemplateConvertImpl
implements
CouponTemplateConvert
{
public
class
CouponTemplateConvertImpl
implements
CouponTemplateConvert
{
...
@@ -121,14 +121,14 @@ public class CouponTemplateConvertImpl implements CouponTemplateConvert {
...
@@ -121,14 +121,14 @@ public class CouponTemplateConvertImpl implements CouponTemplateConvert {
couponTemplateBO
.
setDateType
(
template
.
getDateType
()
);
couponTemplateBO
.
setDateType
(
template
.
getDateType
()
);
couponTemplateBO
.
setValidStartTime
(
template
.
getValidStartTime
()
);
couponTemplateBO
.
setValidStartTime
(
template
.
getValidStartTime
()
);
couponTemplateBO
.
setValidEndTime
(
template
.
getValidEndTime
()
);
couponTemplateBO
.
setValidEndTime
(
template
.
getValidEndTime
()
);
couponTemplateBO
.
setFixedStartTerm
(
template
.
getFixedStartTerm
()
);
couponTemplateBO
.
setFixedEndTerm
(
template
.
getFixedEndTerm
()
);
couponTemplateBO
.
setPreferentialType
(
template
.
getPreferentialType
()
);
couponTemplateBO
.
setPreferentialType
(
template
.
getPreferentialType
()
);
couponTemplateBO
.
setPercentOff
(
template
.
getPercentOff
()
);
couponTemplateBO
.
setPercentOff
(
template
.
getPercentOff
()
);
couponTemplateBO
.
setPriceOff
(
template
.
getPriceOff
()
);
couponTemplateBO
.
setPriceOff
(
template
.
getPriceOff
()
);
couponTemplateBO
.
setDiscountPriceLimit
(
template
.
getDiscountPriceLimit
()
);
couponTemplateBO
.
setDiscountPriceLimit
(
template
.
getDiscountPriceLimit
()
);
couponTemplateBO
.
setStatFetchNum
(
template
.
getStatFetchNum
()
);
couponTemplateBO
.
setStatFetchNum
(
template
.
getStatFetchNum
()
);
couponTemplateBO
.
setCreateTime
(
template
.
getCreateTime
()
);
couponTemplateBO
.
setCreateTime
(
template
.
getCreateTime
()
);
couponTemplateBO
.
setFixedStartTerm
(
template
.
getFixedStartTerm
()
);
couponTemplateBO
.
setFixedEndTerm
(
template
.
getFixedEndTerm
()
);
return
couponTemplateBO
;
return
couponTemplateBO
;
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论