Commit 22df2ee3 by caosy

推广产品

parent 883cddac
...@@ -16,7 +16,7 @@ public class BuyVoucherActivityBean implements Serializable { ...@@ -16,7 +16,7 @@ public class BuyVoucherActivityBean implements Serializable {
private String thumPath;// 本次活动缩略图 private String thumPath;// 本次活动缩略图
private BigDecimal communePrice;// 会员价格 private BigDecimal communePrice;// 会员价格
private BigDecimal guestPrice;// 嘉宾价 private BigDecimal guestPrice;// 嘉宾价
private Integer userLimit;// 购买限制 private Integer userLimit;// 单人购买限制
private String voucherConfig;// 本次活动的发券配置 private String voucherConfig;// 本次活动的发券配置
private String message;// 购买成功后的提示 private String message;// 购买成功后的提示
private Integer valid;//活动有效标识1:有效 0失效 private Integer valid;//活动有效标识1:有效 0失效
...@@ -40,8 +40,16 @@ public class BuyVoucherActivityBean implements Serializable { ...@@ -40,8 +40,16 @@ public class BuyVoucherActivityBean implements Serializable {
private Integer overdueCanBuy; //过期会员购买 1-不可以 2-可以 private Integer overdueCanBuy; //过期会员购买 1-不可以 2-可以
private Integer activityType; //产品类型 1-套票 2-培训产品 3-超级会员 4-实物 private Integer activityType; //产品类型 1-套票 2-培训产品 3-超级会员 4-实物
private Integer stockLimit; //库存限制
private Integer productType; //产品类型 1-会员产品 2-推广产品
private Integer version; //版本号
private String activityTypeMsg; private String activityTypeMsg;
public Integer getVoucherType() { public Integer getVoucherType() {
return voucherType; return voucherType;
...@@ -278,5 +286,31 @@ public class BuyVoucherActivityBean implements Serializable { ...@@ -278,5 +286,31 @@ public class BuyVoucherActivityBean implements Serializable {
public void setActivityTypeMsg(String activityTypeMsg) { public void setActivityTypeMsg(String activityTypeMsg) {
this.activityTypeMsg = 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;
}
} }
...@@ -26,7 +26,9 @@ public class BuyVoucherActivityQuery extends AbstractPagedQuery { ...@@ -26,7 +26,9 @@ public class BuyVoucherActivityQuery extends AbstractPagedQuery {
private Integer showPaths; //显示途径 1-App 2-小程序 3-全部 private Integer showPaths; //显示途径 1-App 2-小程序 3-全部
private Integer overdueCanBuy; //过期会员购买 1-不可以 2-可以 private Integer overdueCanBuy; //过期会员购买 1-不可以 2-可以
private Integer activityType; //产品类型 1-套票 2-培训产品 3-超级会员 4-实物 private Integer activityType; //产品类型 1-套票 2-培训产品 3-超级会员 4-实物
private Integer stockLimit; //库存限制
private Integer productType; //产品类型 1-会员产品 2-推广产品
public Integer getId() { public Integer getId() {
...@@ -128,4 +130,21 @@ public class BuyVoucherActivityQuery extends AbstractPagedQuery { ...@@ -128,4 +130,21 @@ public class BuyVoucherActivityQuery extends AbstractPagedQuery {
public void setActivityType(Integer activityType) { public void setActivityType(Integer activityType) {
this.activityType = 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;
}
} }
...@@ -12,7 +12,11 @@ public enum VoucherTypeCodeEnum { ...@@ -12,7 +12,11 @@ public enum VoucherTypeCodeEnum {
/** /**
* 体验卷 * 体验卷
*/ */
EXPERIENCR(2, "体验劵"); EXPERIENCR(2, "体验劵"),
/**
* 体验卷
*/
CAI(3, "教学体验劵");
private Integer value; private Integer value;
private String msg; private 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