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
a8e5ffc6
authored
Apr 27, 2022
by
caosy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
购买产品类型
parent
22d14fd6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
81 additions
and
2 deletions
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/ActivityTypeCodeEnum.java
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/VoucherItemDTO.java
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/ActivityTypeCodeEnum.java
0 → 100644
View file @
a8e5ffc6
package
com
.
ctrip
.
fun
.
common
.
vo
.
basic
;
import
java.util.HashMap
;
import
java.util.Map
;
public
enum
ActivityTypeCodeEnum
{
/**
* 套票
*/
PACKAGE
(
1
,
"套票"
),
/**
*培训产品
*/
TRAIN
(
2
,
"培训产品"
),
/**
*培训产品
*/
SVIP
(
3
,
"超级会员"
),
;
private
Integer
value
;
private
String
msg
;
private
ActivityTypeCodeEnum
(
int
value
,
String
msg
)
{
this
.
value
=
value
;
this
.
msg
=
msg
;
}
private
static
Map
<
Integer
,
ActivityTypeCodeEnum
>
map
=
new
HashMap
<
Integer
,
ActivityTypeCodeEnum
>();
static
{
for
(
ActivityTypeCodeEnum
it
:
ActivityTypeCodeEnum
.
values
())
{
map
.
put
(
it
.
value
,
it
);
}
}
public
Integer
getValue
()
{
return
value
;
}
public
void
setValue
(
Integer
value
)
{
this
.
value
=
value
;
}
public
String
getMsg
()
{
return
msg
;
}
public
void
setMsg
(
String
msg
)
{
this
.
msg
=
msg
;
}
}
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/BuyVoucherActivityBean.java
View file @
a8e5ffc6
...
...
@@ -39,6 +39,8 @@ public class BuyVoucherActivityBean implements Serializable {
private
Integer
overdueCanBuy
;
//过期会员购买 1-不可以 2-可以
private
Integer
activityType
;
//产品类型 1-套票 2-培训产品 3-超级会员
public
Integer
getVoucherType
()
{
return
voucherType
;
}
...
...
@@ -258,5 +260,13 @@ public class BuyVoucherActivityBean implements Serializable {
public
void
setOverdueCanBuy
(
Integer
overdueCanBuy
)
{
this
.
overdueCanBuy
=
overdueCanBuy
;
}
public
Integer
getActivityType
()
{
return
activityType
;
}
public
void
setActivityType
(
Integer
activityType
)
{
this
.
activityType
=
activityType
;
}
}
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/BuyVoucherActivityQuery.java
View file @
a8e5ffc6
...
...
@@ -25,7 +25,7 @@ public class BuyVoucherActivityQuery extends AbstractPagedQuery {
private
Integer
voucherType
;
//卷类型 1 -正常卷 2-体验卷需要身份证
private
Integer
showPaths
;
//显示途径 1-App 2-小程序 3-全部
private
Integer
overdueCanBuy
;
//过期会员购买 1-不可以 2-可以
private
Integer
activityType
;
//产品类型 1-套票 2-培训产品 3-超级会员
...
...
@@ -120,4 +120,12 @@ public class BuyVoucherActivityQuery extends AbstractPagedQuery {
public
void
setOverdueCanBuy
(
Integer
overdueCanBuy
)
{
this
.
overdueCanBuy
=
overdueCanBuy
;
}
public
Integer
getActivityType
()
{
return
activityType
;
}
public
void
setActivityType
(
Integer
activityType
)
{
this
.
activityType
=
activityType
;
}
}
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/VoucherItemDTO.java
View file @
a8e5ffc6
...
...
@@ -71,6 +71,7 @@ public class VoucherItemDTO implements Serializable {
private
Integer
overdueCanBuy
;
//过期会员购买 1-不可以 2-可以
private
Integer
activityType
;
//产品类型 1-套票 2-培训产品 3-超级会员
public
Integer
getVoucherType
()
{
return
voucherType
;
...
...
@@ -442,6 +443,12 @@ public class VoucherItemDTO implements Serializable {
public
void
setOverdueCanBuy
(
Integer
overdueCanBuy
)
{
this
.
overdueCanBuy
=
overdueCanBuy
;
}
public
Integer
getActivityType
()
{
return
activityType
;
}
public
void
setActivityType
(
Integer
activityType
)
{
this
.
activityType
=
activityType
;
}
}
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