package com.mesasoft.cn.sketch.config; import com.mesasoft.cn.sketch.util.ConfigUtils; import lombok.Data; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; @Data @Component public class AppConfig { // Mariadb public static final String DATABASE = ConfigUtils.getStringProperty("database"); @Value("${db.query.batch.size}") private Integer dbQueryBatchSize; }