package com.chinaztt.mes.common.wechat;
|
|
|
import lombok.Data;
|
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
import org.springframework.stereotype.Component;
|
|
@RefreshScope
|
@Component
|
@Data
|
public class WechatProperty {
|
|
/**
|
* 信号负责人
|
*/
|
@Value("${wechat.sign:}")
|
private String sign;
|
|
/**
|
* 射频负责人
|
*/
|
@Value("${wechat.radio:}")
|
private String radio;
|
|
/**
|
* 组件负责人
|
*/
|
@Value("${wechat.assembly:}")
|
private String assembly;
|
|
/**
|
* 光电负责人
|
*/
|
@Value("${wechat.electric:}")
|
private String electric;
|
|
/**
|
* 卡具负责人
|
*/
|
@Value("${wechat.fixture:}")
|
private String fixture;
|
|
/**
|
* 高温负责人
|
*/
|
@Value("${wechat.temperature:}")
|
private String temperature;
|
|
/**
|
* 机车负责人
|
*/
|
@Value("${wechat.engine:}")
|
private String engine;
|
|
/**
|
* 其他负责人
|
*/
|
@Value("${wechat.other:}")
|
private String other;
|
}
|