Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-common
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
22df2ee3
authored
Apr 18, 2023
by
caosy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推广产品
parent
883cddac
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
2 deletions
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/BuyVoucherActivityBean.java
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/BuyVoucherActivityQuery.java
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/VoucherTypeCodeEnum.java
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/BuyVoucherActivityBean.java
View file @
22df2ee3
...
...
@@ -16,7 +16,7 @@ public class BuyVoucherActivityBean implements Serializable {
private
String
thumPath
;
// 本次活动缩略图
private
BigDecimal
communePrice
;
// 会员价格
private
BigDecimal
guestPrice
;
// 嘉宾价
private
Integer
userLimit
;
// 购买限制
private
Integer
userLimit
;
//
单人
购买限制
private
String
voucherConfig
;
// 本次活动的发券配置
private
String
message
;
// 购买成功后的提示
private
Integer
valid
;
//活动有效标识1:有效 0失效
...
...
@@ -40,8 +40,16 @@ public class BuyVoucherActivityBean implements Serializable {
private
Integer
overdueCanBuy
;
//过期会员购买 1-不可以 2-可以
private
Integer
activityType
;
//产品类型 1-套票 2-培训产品 3-超级会员 4-实物
private
Integer
stockLimit
;
//库存限制
private
Integer
productType
;
//产品类型 1-会员产品 2-推广产品
private
Integer
version
;
//版本号
private
String
activityTypeMsg
;
public
Integer
getVoucherType
()
{
return
voucherType
;
...
...
@@ -278,5 +286,31 @@ public class BuyVoucherActivityBean implements Serializable {
public
void
setActivityTypeMsg
(
String
activityTypeMsg
)
{
this
.
activityTypeMsg
=
activityTypeMsg
;
}
public
Integer
getStockLimit
()
{
return
stockLimit
;
}
public
void
setStockLimit
(
Integer
stockLimit
)
{
this
.
stockLimit
=
stockLimit
;
}
public
Integer
getProductType
()
{
return
productType
;
}
public
void
setProductType
(
Integer
productType
)
{
this
.
productType
=
productType
;
}
public
Integer
getVersion
()
{
return
version
;
}
public
void
setVersion
(
Integer
version
)
{
this
.
version
=
version
;
}
}
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/BuyVoucherActivityQuery.java
View file @
22df2ee3
...
...
@@ -26,7 +26,9 @@ public class BuyVoucherActivityQuery extends AbstractPagedQuery {
private
Integer
showPaths
;
//显示途径 1-App 2-小程序 3-全部
private
Integer
overdueCanBuy
;
//过期会员购买 1-不可以 2-可以
private
Integer
activityType
;
//产品类型 1-套票 2-培训产品 3-超级会员 4-实物
private
Integer
stockLimit
;
//库存限制
private
Integer
productType
;
//产品类型 1-会员产品 2-推广产品
public
Integer
getId
()
{
...
...
@@ -128,4 +130,21 @@ public class BuyVoucherActivityQuery extends AbstractPagedQuery {
public
void
setActivityType
(
Integer
activityType
)
{
this
.
activityType
=
activityType
;
}
public
Integer
getStockLimit
()
{
return
stockLimit
;
}
public
void
setStockLimit
(
Integer
stockLimit
)
{
this
.
stockLimit
=
stockLimit
;
}
public
Integer
getProductType
()
{
return
productType
;
}
public
void
setProductType
(
Integer
productType
)
{
this
.
productType
=
productType
;
}
}
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/VoucherTypeCodeEnum.java
View file @
22df2ee3
...
...
@@ -12,7 +12,11 @@ public enum VoucherTypeCodeEnum {
/**
* 体验卷
*/
EXPERIENCR
(
2
,
"体验劵"
);
EXPERIENCR
(
2
,
"体验劵"
),
/**
* 体验卷
*/
CAI
(
3
,
"教学体验劵"
);
private
Integer
value
;
private
String
msg
;
...
...
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