Commit 680c5379 by caosy

显示端

parent 76f32c6b
...@@ -34,6 +34,10 @@ public class BuyVoucherActivityBean implements Serializable { ...@@ -34,6 +34,10 @@ 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;
}
} }
...@@ -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;
}
} }
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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment