package com.chinaztt.mes.common.oa;
|
|
import lombok.Data;
|
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* @author ZTT
|
*/
|
@RefreshScope
|
@Component
|
@Data
|
public class OAProperty {
|
|
@Value("${oa.host:}")
|
private String oaHost;
|
|
/**
|
* 装备电缆:委外订单oa的id
|
*/
|
@Value("${oa.equip.outsourcingOrderId:}")
|
private String outsourcingOrderId;
|
|
/**
|
* 装备电缆:不合格审批oa的id
|
*/
|
@Value("${oa.equip.unqualifiedProcessId:}")
|
private String unqualifiedProcessId;
|
|
/**
|
* 工艺文件OA展示链接
|
*/
|
@Value("${oa.documentUrl:}")
|
private String documentUrl;
|
|
/**
|
* 客户订单审批流程id
|
*/
|
@Value("${oa.customerOrderOaId:}")
|
private String customerOrderOaId;
|
|
}
|