/*
 * Copyright (c) 2024 codvision.com All Rights Reserved.
 */

package com.codvision.webcore.config.swagger;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author hxl
 */
@Data
@Component
@ConfigurationProperties(prefix = SwaggerProperties.PREFIX)
public class SwaggerProperties {

    public static final String PREFIX ="swagger.basic";

    /**
     * 是否开启Swagger登陆认证
     */
    private boolean enable;

    /**
     * swagger用户名
     */
    private String username;

    /**
     * swagger用户密码
     */
    private String password;
}
