Commit 1ba3a3ef by zhangchen

1.增加券校验

parent dc5cc557
......@@ -199,6 +199,8 @@ public class VoucherRuleBean implements java.io.Serializable {
* 百分比
*/
private String percent;
private int canFreeReceive;//判断券是可以免费领取
@SuppressWarnings("rawtypes")
public AbstractRuleConditionBean getRuleCondition() {
......@@ -516,6 +518,14 @@ public class VoucherRuleBean implements java.io.Serializable {
public void setPercent(String percent) {
this.percent = percent;
}
public int getCanFreeReceive() {
return canFreeReceive;
}
public void setCanFreeReceive(int canFreeReceive) {
this.canFreeReceive = canFreeReceive;
}
......
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