package org.dromara.common.core.config;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.dromara.common.core.factory.YmlPropertySourceFactory;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author: Sheldon Jia
 * @ClassName: LoginConfig
 * @Description: 登录功能配置项
 * @date: 2025/05/04
 */
@Data
@Component
@ConfigurationProperties(prefix = "zhishu")
// @PropertySource(value = "classpath:base-${spring.profiles.active:dev}.yml", factory = YmlPropertySourceFactory.class)
public class ZhishuConfig {

    /**
     * url
     */
    private String url;

    /**
     * filterUrl
     */
    private String filterUrl;

    /**
     * kfz服务地址
     */
    private String kfzServiceUrl;

    /**
     * 历史商品Excel文件目录地址
     */
    private String historyShopGodSExcelFilePath;

    /**
     * 新增商品Excel文件暂存目录地址
     */
    private String newShopGodSExcelFilePath;

    /**
     * 变更商品Excel文件暂存目录地址
     */
    private String changedShopGodSExcelFilePath;

    /**
     * 异常商品Excel文件暂存目录地址
     */
    private String errorShopGodSExcelFilePath;

}
