package org.xyzh.crontab.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "crawler")
@Component
public class CrawlerProperties {
    
    @Value("${crawler.pythonPath}")
    private String pythonPath;

    @Value("${crawler.basePath}")
    private String basePath;

}
