L3HRM后端推送

This commit is contained in:
2025-12-16 16:56:14 +08:00
parent 5ac2e78a33
commit 62c541839e
221 changed files with 8280 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
package com.klp.hrm.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* Stamp service configuration.
*/
@Data
@Component
@ConfigurationProperties(prefix = "stamp")
public class StampProperties {
private PythonService pythonService = new PythonService();
private JavaService javaService = new JavaService();
@Data
public static class PythonService {
/**
* Whether to call external python stamp service.
*/
private boolean enabled = false;
private String baseUrl;
private String apiKey;
private Integer timeoutMs = 5000;
}
@Data
public static class JavaService {
/**
* Enable in-Java stamping.
*/
private boolean enabled = true;
/**
* Default DPI for px → user-space conversion if needed.
*/
private Integer dpi = 72;
}
}