2
sunshine
2024-11-05 d1f9fb55a136e589a5ad588ed9a93ce9272917da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
package com.nova.sankuai.domain.vo.channel;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.nova.sankuai.domain.entity.ChannelInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;
 
/**
 * @author weikangdi
 * @create 2021/12/20
 */
@Data
@ApiModel(value = "APP配置视图VO")
public class ChannelConfigVo {
 
    @ApiModelProperty(value = "主键")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
 
    @ApiModelProperty(value = "渠道(其他平台)名称")
    private String name;
 
    @ApiModelProperty(value = "分发给其他平台的渠道id")
    private String appId;
 
    @ApiModelProperty(value = "贷超工作流开关 0-禁用 1-启用")
    private Integer loanMarketOnly;
 
    @ApiModelProperty(value = "安卓下载链接")
    private String androidLink;
 
    @ApiModelProperty(value = "IOS下载链接")
    private String iosLink;
 
    @ApiModelProperty(value = "会员折扣金额")
    private Integer memberDiscount;
 
    @ApiModelProperty(value = "额度审批时间")
    private Integer quotaApprovalTime;
 
    @ApiModelProperty(value = "2.0开关")
    private Integer version2IsOpen;
 
    @ApiModelProperty(value = "2.0子参数, 1为线上放款,0为银行直贷")
    private Integer version2Type;
 
    @ApiModelProperty(value = "默认会员权益")
    private String defaultCardId;
 
    @ApiModelProperty(value = "贷款超市配置类型 0-横列 1-竖列")
    private Integer loanMarketArray;
 
    @ApiModelProperty(value = "3.0流程开关")
    private Integer version3IsOpen;
 
    @ApiModelProperty(value = "贷超直链开关")
    private Integer loanMarketHotLinkSwitch;
 
    @ApiModelProperty(value = "贷超直链产品id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long loanMarketHotLinkId;
 
    @ApiModelProperty(value = "贷超外部链接地址")
    private String loanMarketLinkUrl;
 
    @ApiModelProperty(value = "审批加速包会员开关 0-关闭 1-开启")
    private Integer queueVipSwitch;
 
    @ApiModelProperty(value = "单页面H5开关")
    private Integer h5PageSwitch;
 
    @ApiModelProperty(value = "首页贷超和页面tab管理开关")
    private Integer pageTabSwitch;
 
    @ApiModelProperty(value = "4.0流程开关 0为关,1为开")
    private Integer version4IsOpen;
 
    @ApiModelProperty(value = "0加速包 1贷超模式")
    private Integer vipMode;
 
    @ApiModelProperty(value = "0落地页 1:H5/APP")
    private Integer linkMode;
 
    // 于2022-11-15新增:直接放款
    @ApiModelProperty(value = "直接放款开关 0为关,1为开")
    private Integer directLoanIsOpen;
 
    @ApiModelProperty(value = "会员开关 0是关闭  1是打开")
    private Integer vipSwitch;
 
    @ApiModelProperty(value = "是否打开银行卡界面 1是 0否")
    private Integer bankCardIsOpen;
 
    @ApiModelProperty(value = "是否打开旧的放款进度页 1是 0否")
    private Integer loanProgressOld;
 
    @ApiModelProperty(value = "大额H5和单页面H5开关,0下载APP,1贷超,2通知页")
    private Integer dhSwitch;
 
    @ApiModelProperty(value = "用信过程,0关闭,1开启")
    private Integer yongxinIsOpen;
 
    @ApiModelProperty(value = "身份证验证,0否 1是")
    private Integer idCardSwitch;
 
    @ApiModelProperty(value = "联登开关 0关闭 1开启")
    private Integer lianDeng;
 
    // ab新增于2024-10-16
    @ApiModelProperty(value = "H5匹配资金方 1开启 0关")
    private Integer h5Match;
 
 
    public static ChannelConfigVo parseChannelConfig(ChannelInfo channelInfo) {
        ChannelConfigVo channelConfigVo = new ChannelConfigVo();
        BeanUtils.copyProperties(channelInfo, channelConfigVo);
        return channelConfigVo;
    }
}