From b47f8a03db79bb1f6356479cd8a5cf190d7d9694 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 23 六月 2021 11:10:36 +0800
Subject: [PATCH] 礼金功能完善

---
 facade-vip/src/main/java/com/ks/vip/pojo/DTO/PayWayInfoDTO.java |   27 ++++++++++++++++-----------
 1 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/facade-vip/src/main/java/com/ks/vip/pojo/DTO/PayWayInfoDTO.java b/facade-vip/src/main/java/com/ks/vip/pojo/DTO/PayWayInfoDTO.java
index 6047424..37c08a0 100644
--- a/facade-vip/src/main/java/com/ks/vip/pojo/DTO/PayWayInfoDTO.java
+++ b/facade-vip/src/main/java/com/ks/vip/pojo/DTO/PayWayInfoDTO.java
@@ -1,17 +1,21 @@
 package com.ks.vip.pojo.DTO;
 
-public class PayWayInfoDTO {
+import com.ks.vip.pojo.Enums.PayWayEnum;
 
-    private int payWay;
+import java.io.Serializable;
+
+public class PayWayInfoDTO implements Serializable {
+
+    private PayWayEnum payWay;
 
     private String payUrl;
 
     private String alipayFormId;
 
-    public PayWayInfoDTO(int payWay, String payUrl,String alipayFormId) {
+    public PayWayInfoDTO(PayWayEnum payWay, String payUrl, String alipayFormId) {
         this.payWay = payWay;
         this.payUrl = payUrl;
-        this.alipayFormId=alipayFormId;
+        this.alipayFormId = alipayFormId;
     }
 
 
@@ -23,13 +27,6 @@
         this.alipayFormId = alipayFormId;
     }
 
-    public int getPayWay() {
-        return payWay;
-    }
-
-    public void setPayWay(int payWay) {
-        this.payWay = payWay;
-    }
 
     public String getPayUrl() {
         return payUrl;
@@ -38,4 +35,12 @@
     public void setPayUrl(String payUrl) {
         this.payUrl = payUrl;
     }
+
+    public PayWayEnum getPayWay() {
+        return payWay;
+    }
+
+    public void setPayWay(PayWayEnum payWay) {
+        this.payWay = payWay;
+    }
 }
\ No newline at end of file

--
Gitblit v1.8.0