Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lingxi-lxy-yanshou
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
后端-黄柯铭
lingxi-lxy-yanshou
Commits
be49f401
Commit
be49f401
authored
Aug 06, 2021
by
liao_ds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
营销-平台活动-商品图片
parent
d4bf5df3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
PlatformActivityGoodsDO.java
...xi/marketing/entity/activity/PlatformActivityGoodsDO.java
+13
-0
PfActivitySignUpGoodsReq.java
...g/model/vo/activity/request/PfActivitySignUpGoodsReq.java
+5
-0
PfActivitySignUpGoodsPageResp.java
...l/vo/activity/response/PfActivitySignUpGoodsPageResp.java
+4
-0
No files found.
marketing-service/src/main/java/com/ssy/lingxi/marketing/entity/activity/PlatformActivityGoodsDO.java
View file @
be49f401
...
...
@@ -123,6 +123,11 @@ public class PlatformActivityGoodsDO implements Serializable {
@Column
(
columnDefinition
=
"int4"
)
private
Integer
restrictTotalNum
;
/**
* 商品主图
*/
@Column
(
columnDefinition
=
"varchar(250)"
)
private
String
productImgUrl
;
/**
* 附属商品信息(仅赠送促销、换购、套票)
*/
@Transient
...
...
@@ -285,6 +290,14 @@ public class PlatformActivityGoodsDO implements Serializable {
this
.
restrictTotalNum
=
restrictTotalNum
;
}
public
String
getProductImgUrl
()
{
return
productImgUrl
;
}
public
void
setProductImgUrl
(
String
productImgUrl
)
{
this
.
productImgUrl
=
productImgUrl
;
}
public
List
<
PlatformActivityGoodsSubsidiaryDO
>
getGoodsSubsidiaryDOList
()
{
return
goodsSubsidiaryDOList
;
}
...
...
marketing-service/src/main/java/com/ssy/lingxi/marketing/model/vo/activity/request/PfActivitySignUpGoodsReq.java
View file @
be49f401
...
...
@@ -83,6 +83,11 @@ public class PfActivitySignUpGoodsReq implements Serializable {
@Range
(
min
=
1
,
message
=
"活动限购总数量必须大于0"
)
private
Integer
restrictTotalNum
;
/**
* 活动商品图片
*/
@NotNull
(
message
=
"活动商品图片地址不能为空"
)
private
String
productImgUrl
;
/**
* 商品赠品、换购商品、套餐商品
*/
private
List
<
PfActivitySignUpGoodsSubsidiaryReq
>
goodsSubsidiaryList
;
...
...
marketing-service/src/main/java/com/ssy/lingxi/marketing/model/vo/activity/response/PfActivitySignUpGoodsPageResp.java
View file @
be49f401
...
...
@@ -112,4 +112,8 @@ public class PfActivitySignUpGoodsPageResp implements Serializable {
* */
private
Integer
restrictTotalNum
;
/**
* 活动商品图片
*/
private
String
productImgUrl
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment