package com.dji.sample.patches.config.pojo; import lombok.Data; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; import org.springframework.stereotype.Component; /** * @PROJECT_NAME: drone * @DESCRIPTION: * @USER: aix * @DATE: 2024/4/11 11:04 */ @Configuration @Data public class PatchesConfigPojo { @Value("${patches.url.path.unzip}") private String unzip; @Value("${patches.url.path.kmz.destKMZFile}") private String destKMZFile; @Value("${patches.url.path.kmz.sourceDir}") private String sourceDir; @Value("${patches.xml.temple.template}") private String template; @Value("${patches.xml.temple.waylines}") private String waylines; @Value("${patches.xml.target.template}") private String targetTemplate; @Value("${patches.xml.target.waylines}") private String targetWaylines; }