Commit b31ba12f by caosy

卷类型

parent ce7625b0
...@@ -33,7 +33,7 @@ public class BuyVoucherActivityBean implements Serializable { ...@@ -33,7 +33,7 @@ public class BuyVoucherActivityBean implements Serializable {
private String wishing;//祝福语 private String wishing;//祝福语
private BigDecimal grossPrice;// 毛利价 private BigDecimal grossPrice;// 毛利价
private String regionCode; //区域 0-全区域,100-上海 ,110-广州,120-北京 private String regionCode; //区域 0-全区域,100-上海 ,110-广州,120-北京
private Integer voucherType; //卷类型 0 -正常卷 1-体验卷需要身份证 private Integer voucherType; //卷类型 1 -正常卷 2-体验卷需要身份证
public Integer getVoucherType() { public Integer getVoucherType() {
return voucherType; return voucherType;
......
...@@ -22,7 +22,7 @@ public class BuyVoucherActivityQuery extends AbstractPagedQuery { ...@@ -22,7 +22,7 @@ public class BuyVoucherActivityQuery extends AbstractPagedQuery {
private Date createdTimeEnd; private Date createdTimeEnd;
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; //卷类型 0 -正常卷 1-体验卷需要身份证 private Integer voucherType; //卷类型 1 -正常卷 2-体验卷需要身份证
......
...@@ -8,13 +8,13 @@ public enum VoucherTypeCodeEnum { ...@@ -8,13 +8,13 @@ public enum VoucherTypeCodeEnum {
/** /**
* 正常卷 * 正常卷
*/ */
NORMAL(0, "正常卷"), NORMAL(1, "正常卷"),
/** /**
* 体验卷 * 体验卷
*/ */
EXPERIENCR(1, "体验卷"); EXPERIENCR(2, "体验卷");
private int value; private Integer value;
private String msg; private String msg;
private VoucherTypeCodeEnum(int value, String msg) { private VoucherTypeCodeEnum(int value, String 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