| package com.doumee.config; | 
|   | 
| import lombok.Data; | 
| import org.springframework.boot.context.properties.ConfigurationProperties; | 
| import org.springframework.stereotype.Component; | 
|   | 
| @Data | 
| @Component | 
| @ConfigurationProperties(prefix = "data-sync") | 
| public class DataSyncConfig { | 
|     public interface  origin{ | 
|         int erp = 1; | 
|         int hk = 2; | 
|         int self = 0; | 
|     } | 
|     private Integer orgUserDataOrigin; | 
|     private Integer visitorDataOrigin; | 
|     private Boolean needDealImg; | 
| } |