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
680c5379
authored
Dec 05, 2020
by
caosy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
显示端
parent
76f32c6b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
1 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/VoucherShowPathsCodeEnum.java
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/BuyVoucherActivityBean.java
View file @
680c5379
...
@@ -34,7 +34,11 @@ public class BuyVoucherActivityBean implements Serializable {
...
@@ -34,7 +34,11 @@ public class BuyVoucherActivityBean implements Serializable {
private
BigDecimal
grossPrice
;
// 毛利价
private
BigDecimal
grossPrice
;
// 毛利价
private
String
regionCode
;
//区域 0-全区域,100-上海 ,110-广州,120-北京
private
String
regionCode
;
//区域 0-全区域,100-上海 ,110-广州,120-北京
private
Integer
voucherType
;
//卷类型 1 -正常卷 2-体验卷需要身份证
private
Integer
voucherType
;
//卷类型 1 -正常卷 2-体验卷需要身份证
private
Integer
showPaths
;
//显示途径 1-App 2-小程序 3-全部
public
Integer
getVoucherType
()
{
public
Integer
getVoucherType
()
{
return
voucherType
;
return
voucherType
;
}
}
...
@@ -231,7 +235,13 @@ public class BuyVoucherActivityBean implements Serializable {
...
@@ -231,7 +235,13 @@ public class BuyVoucherActivityBean implements Serializable {
this
.
regionCode
=
regionCode
;
this
.
regionCode
=
regionCode
;
}
}
public
Integer
getShowPaths
()
{
return
showPaths
;
}
public
void
setShowPaths
(
Integer
showPaths
)
{
this
.
showPaths
=
showPaths
;
}
}
}
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/BuyVoucherActivityQuery.java
View file @
680c5379
...
@@ -23,6 +23,9 @@ public class BuyVoucherActivityQuery extends AbstractPagedQuery {
...
@@ -23,6 +23,9 @@ public class BuyVoucherActivityQuery extends AbstractPagedQuery {
private
Integer
buyAndUsed
;
//是否买了并使用了券1:有效 0失效
private
Integer
buyAndUsed
;
//是否买了并使用了券1:有效 0失效
private
String
regionCode
;
//区域 1-全区域,100-上海 ,110-广州,120-北京
private
String
regionCode
;
//区域 1-全区域,100-上海 ,110-广州,120-北京
private
Integer
voucherType
;
//卷类型 1 -正常卷 2-体验卷需要身份证
private
Integer
voucherType
;
//卷类型 1 -正常卷 2-体验卷需要身份证
private
Integer
showPaths
;
//显示途径 1-App 2-小程序 3-全部
...
@@ -101,4 +104,13 @@ public class BuyVoucherActivityQuery extends AbstractPagedQuery {
...
@@ -101,4 +104,13 @@ public class BuyVoucherActivityQuery extends AbstractPagedQuery {
public
void
setVoucherType
(
Integer
voucherType
)
{
public
void
setVoucherType
(
Integer
voucherType
)
{
this
.
voucherType
=
voucherType
;
this
.
voucherType
=
voucherType
;
}
}
public
Integer
getShowPaths
()
{
return
showPaths
;
}
public
void
setShowPaths
(
Integer
showPaths
)
{
this
.
showPaths
=
showPaths
;
}
}
}
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/VoucherShowPathsCodeEnum.java
0 → 100644
View file @
680c5379
package
com
.
ctrip
.
fun
.
common
.
vo
.
basic
;
import
java.util.HashMap
;
import
java.util.Map
;
public
enum
VoucherShowPathsCodeEnum
{
/**
* APP
*/
APP
(
1
,
"APP"
),
/**
*小程序
*/
MP
(
2
,
"小程序"
),
/**
*全部
*/
ALL
(
3
,
"全部"
);
private
Integer
value
;
private
String
msg
;
private
VoucherShowPathsCodeEnum
(
int
value
,
String
msg
)
{
this
.
value
=
value
;
this
.
msg
=
msg
;
}
private
static
Map
<
Integer
,
VoucherShowPathsCodeEnum
>
map
=
new
HashMap
<
Integer
,
VoucherShowPathsCodeEnum
>();
static
{
for
(
VoucherShowPathsCodeEnum
it
:
VoucherShowPathsCodeEnum
.
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
;
}
}
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