刘光辉
4 小时以前 06f314545ac3514d7ce28939920866ae8188d31c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package jnpf.dmsService.recordprint;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
/**
 * 记录文件打印业务配置。
 */
@Data
@Component
@ConfigurationProperties(prefix = "dms.record-print")
public class DmsRecordPrintProperties {
 
    /** 单据模板中“记录打印流水号”规则的编码。 */
    private String billRuleCode = "jiluDayinLiushuihao";
 
    /** 单次请求最多允许生成的流水号数量。 */
    private int maxSerialCount = 999;
 
    /** 预览流水号预占有效期,单位分钟。 */
    private int reservationTtlMinutes = 30;
 
    /** 确认结果保留时长,单位小时。 */
    private int confirmedResultTtlHours = 1;
 
}