TRX 1 год назад
Родитель
Сommit
41ad445813

+ 4 - 0
FullCardClient/src/main/java/com/zhongshu/card/client/model/paySetting/paySetting/ProjectMainPaySettingModel.java

@@ -4,6 +4,7 @@ import com.github.microservice.types.payment.PaymentChannelType;
 import com.github.microservice.types.payment.PaymentType;
 import com.zhongshu.card.client.type.paySetting.RegularType;
 import com.zhongshu.card.client.type.paySetting.SettlementRulesType;
+import com.zhongshu.card.client.type.paySetting.WithdrawMethodType;
 import com.zhongshu.card.client.type.paySetting.WithdrawType;
 import io.swagger.v3.oas.annotations.media.Schema;
 import jakarta.validation.constraints.Max;
@@ -53,6 +54,9 @@ public class ProjectMainPaySettingModel {
     @Schema(description = "结算规则")
     private SettlementRulesType settlementRulesType;
 
+    @Schema(description = "提现方式")
+    private WithdrawMethodType withdrawMethodType;
+
     //---------------D+N结算 设置
     @Schema(description = "天数,>= 1")
     @Min(value = 1)

+ 4 - 0
FullCardClient/src/main/java/com/zhongshu/card/client/model/paySetting/paySetting/ProjectMainPaySettingParam.java

@@ -2,6 +2,7 @@ package com.zhongshu.card.client.model.paySetting.paySetting;
 
 import com.zhongshu.card.client.type.paySetting.RegularType;
 import com.zhongshu.card.client.type.paySetting.SettlementRulesType;
+import com.zhongshu.card.client.type.paySetting.WithdrawMethodType;
 import com.zhongshu.card.client.type.paySetting.WithdrawType;
 import io.swagger.v3.oas.annotations.media.Schema;
 import jakarta.validation.constraints.NotEmpty;
@@ -59,6 +60,9 @@ public class ProjectMainPaySettingParam {
     @NotNull
     private WithdrawType withdrawType;
 
+    @Schema(description = "提现方式")
+    private WithdrawMethodType withdrawMethodType;
+
     //---------------------------分账规则配置 start ------------
     @Schema(description = "最小分账金额, 单位分")
     private Long minSharing = 0L;

+ 19 - 0
FullCardClient/src/main/java/com/zhongshu/card/client/type/paySetting/WithdrawMethodType.java

@@ -0,0 +1,19 @@
+package com.zhongshu.card.client.type.paySetting;
+
+import lombok.Getter;
+
+/**
+ * 提现规则
+ */
+public enum WithdrawMethodType {
+    OnLine("线上"),
+    OffLine("线下"),
+    ;
+
+    @Getter
+    private String remark;
+
+    WithdrawMethodType(String remark) {
+        this.remark = remark;
+    }
+}

+ 4 - 0
FullCardServer/src/main/java/com/zhongshu/card/server/core/domain/paySetting/ProjectMainPaySetting.java

@@ -4,6 +4,7 @@ import com.github.microservice.types.payment.PaymentChannelType;
 import com.github.microservice.types.payment.PaymentType;
 import com.zhongshu.card.client.type.paySetting.RegularType;
 import com.zhongshu.card.client.type.paySetting.SettlementRulesType;
+import com.zhongshu.card.client.type.paySetting.WithdrawMethodType;
 import com.zhongshu.card.client.type.paySetting.WithdrawType;
 import com.zhongshu.card.server.core.domain.base.SuperMain;
 import io.swagger.v3.oas.annotations.media.Schema;
@@ -84,6 +85,9 @@ public class ProjectMainPaySetting extends SuperMain {
     @Schema(description = "提现规则类型")
     private WithdrawType withdrawType;
 
+    @Schema(description = "提现方式")
+    private WithdrawMethodType withdrawMethodType;
+
     //---------------------------分账规则配置 start ------------
     @Schema(description = "最小分账金额, 单位分")
     private Long minSharing = 0L;