12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- package com.shkpr.service.alambizplugin.commproperties;
- import lombok.Getter;
- import lombok.Setter;
- import org.springframework.boot.context.properties.ConfigurationProperties;
- import java.nio.file.Path;
- import java.time.Duration;
- /**
- * 异步任务属性
- *
- * @author 欧阳劲驰
- * @since 1.0.0
- */
- @Getter
- @Setter
- @ConfigurationProperties(prefix = "async-task")
- public class AsyncTaskProperties {
- /**
- * 系统检查超时时间
- */
- private Duration systemCheckTimeout;
- /**
- * 第三方导入超时时间
- */
- private Duration thirdImportTimeout;
- /**
- * 第三方导出超时时间
- */
- private Duration thirdExportTimeout;
- /**
- * 第三方导出结果落后时间
- */
- private Duration thirdExportResultLag;
- /**
- * cad转换超时时间
- */
- private Duration cadConvertTimeout;
- /**
- * 结果路径
- */
- private Path resultPath;
- }
|