From 2e5c6b46697f7b96460ad0c356740df52bf056d2 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期三, 14 八月 2019 09:51:07 +0800 Subject: [PATCH] 金币兑换 --- fanli/src/main/java/com/yeshi/fanli/entity/system/SystemCoupon.java | 29 +++++++++++++++-------------- 1 files changed, 15 insertions(+), 14 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/system/SystemCoupon.java b/fanli/src/main/java/com/yeshi/fanli/entity/system/SystemCoupon.java index 7888a81..dc767ab 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/system/SystemCoupon.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/system/SystemCoupon.java @@ -22,8 +22,8 @@ // 鍒哥被鍨� public enum CouponTypeEnum { - freeCoupon("鍏嶅崟"), welfareFreeCoupon("绂忓埄鍏嶅崟"), rebatePercentCoupon("杩斿埄姣旀彁鎴愬鍔卞埜"); - + freeCoupon("鍏嶅崟鍒�"), welfareFreeCoupon("绂忓埄鍏嶅崟"), rebatePercentCoupon("杩斿埄姣旀彁鎴愬鍔卞埜"), + freeCouponBuy("鑷喘鍏嶅崟鍒�"),freeCouponGive("璧犻�佸厤鍗曞埜"); private final String desc; private CouponTypeEnum(String desc) { @@ -74,13 +74,14 @@ @Column(name = "sc_rule") private String rule; + // 瑙勫垯 + @Column(name = "sc_rule_link") + private String ruleLink; + + // 澶囨敞璇存槑 @Column(name = "sc_remark") private String remark; - - // 棰嗗彇鏁伴噺 - @Column(name = "sc_receive_count") - private Integer receiveCount; // 鐘舵�� 0鏈惎鐢� 1宸插惎鐢� @Column(name = "sc_state") @@ -173,14 +174,6 @@ this.remark = remark; } - public Integer getReceiveCount() { - return receiveCount; - } - - public void setReceiveCount(Integer receiveCount) { - this.receiveCount = receiveCount; - } - public Integer getState() { return state; } @@ -220,5 +213,13 @@ public void setPictureInvalid(String pictureInvalid) { this.pictureInvalid = pictureInvalid; } + + public String getRuleLink() { + return ruleLink; + } + + public void setRuleLink(String ruleLink) { + this.ruleLink = ruleLink; + } } -- Gitblit v1.8.0