yz
2021-03-07 b8d038947e66850f1a6ec1f93e1805ba33f6fdc0
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
package cc.mrbird.febs.common.doc.starter.properties;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
 
/**
 * @author MrBird
 */
@ConfigurationProperties(prefix = "febs.doc")
public class FebsDocProperties {
 
    /**
     * 是否开启doc功能
     */
    private Boolean enable = true;
    /**
     * 接口扫描路径,如Controller路径
     */
    private String basePackage;
    /**
     * 文档标题
     */
    private String title;
    /**
     * 文档描述
     */
    private String description;
    /**
     * 文档描述颜色
     */
    private String descriptionColor = "#42b983";
    /**
     * 文档描述字体大小
     */
    private String descriptionFontSize = "14";
    /**
     * 服务url
     */
    private String termsOfServiceUrl;
    /**
     * 联系方式:姓名
     */
    private String name;
    /**
     * 联系方式:个人网站url
     */
    private String url;
    /**
     * 联系方式:邮箱
     */
    private String email;
    /**
     * 协议
     */
    private String license;
    /**
     * 协议地址
     */
    private String licenseUrl;
    /**
     * 版本
     */
    private String version;
 
    public String getBasePackage() {
        return basePackage;
    }
 
    public void setBasePackage(String basePackage) {
        this.basePackage = basePackage;
    }
 
    public String getTitle() {
        return title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public String getDescription() {
        return description;
    }
 
    public void setDescription(String description) {
        this.description = description;
    }
 
    public String getDescriptionColor() {
        return descriptionColor;
    }
 
    public void setDescriptionColor(String descriptionColor) {
        this.descriptionColor = descriptionColor;
    }
 
    public String getDescriptionFontSize() {
        return descriptionFontSize;
    }
 
    public void setDescriptionFontSize(String descriptionFontSize) {
        this.descriptionFontSize = descriptionFontSize;
    }
 
    public String getTermsOfServiceUrl() {
        return termsOfServiceUrl;
    }
 
    public void setTermsOfServiceUrl(String termsOfServiceUrl) {
        this.termsOfServiceUrl = termsOfServiceUrl;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getUrl() {
        return url;
    }
 
    public void setUrl(String url) {
        this.url = url;
    }
 
    public String getEmail() {
        return email;
    }
 
    public void setEmail(String email) {
        this.email = email;
    }
 
    public String getLicense() {
        return license;
    }
 
    public void setLicense(String license) {
        this.license = license;
    }
 
    public String getLicenseUrl() {
        return licenseUrl;
    }
 
    public void setLicenseUrl(String licenseUrl) {
        this.licenseUrl = licenseUrl;
    }
 
    public String getVersion() {
        return version;
    }
 
    public void setVersion(String version) {
        this.version = version;
    }
 
    public Boolean getEnable() {
        return enable;
    }
 
    public void setEnable(Boolean enable) {
        this.enable = enable;
    }
 
    @Override
    public String toString() {
        return "FebsDocProperties{" +
                "enable=" + enable +
                ", basePackage='" + basePackage + '\'' +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", descriptionColor='" + descriptionColor + '\'' +
                ", descriptionFontSize='" + descriptionFontSize + '\'' +
                ", termsOfServiceUrl='" + termsOfServiceUrl + '\'' +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", email='" + email + '\'' +
                ", license='" + license + '\'' +
                ", licenseUrl='" + licenseUrl + '\'' +
                ", version='" + version + '\'' +
                '}';
    }
}