| package com.xcong.excoin.common.properties; | 
|   | 
| import lombok.Data; | 
| import org.springframework.boot.SpringBootConfiguration; | 
| import org.springframework.boot.context.properties.ConfigurationProperties; | 
| import org.springframework.context.annotation.PropertySource; | 
|   | 
| /** | 
|  * @author MrBird | 
|  */ | 
| @Data | 
| @SpringBootConfiguration | 
| @PropertySource(value = {"classpath:febs.properties"}) | 
| @ConfigurationProperties(prefix = "febs") | 
| public class FebsProperties { | 
|   | 
|     private ShiroProperties shiro = new ShiroProperties(); | 
|     private boolean autoOpenBrowser = true; | 
|     private SwaggerProperties swagger = new SwaggerProperties(); | 
|   | 
|     private int maxBatchInsertNum = 1000; | 
|   | 
|     private ValidateCodeProperties code = new ValidateCodeProperties(); | 
| } |