李林
2023-10-07 658d4927d468c47208fd012d9128b09249c07eff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.chinaztt.mes.warehouse.entity;
 
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;
 
/**
 * @Description : 配置读取类
 * @ClassName : StockBean
 * @Author : sll
 * @Date: 2022-05-26  15:18
 */
@RefreshScope
@Component
@Data
public class StockConfigBean{
    @Value("${stock.region:}")
    private String region;
}