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;
|
}
|