|  | @ -1,6 +1,7 @@
 | 
	
		
			
				|  |  | package com.yihu.hos.models;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | import org.springframework.data.annotation.Id;
 | 
	
		
			
				|  |  | import org.springframework.data.mongodb.core.index.Indexed;
 | 
	
		
			
				|  |  | import org.springframework.data.mongodb.core.mapping.Document;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | import java.util.Date;
 | 
	
	
		
			
				|  | @ -12,14 +13,20 @@ import java.util.Date;
 | 
	
		
			
				|  |  | public class BusinessLog {
 | 
	
		
			
				|  |  |     @Id
 | 
	
		
			
				|  |  |     private String id;
 | 
	
		
			
				|  |  |     @Indexed
 | 
	
		
			
				|  |  |     private String exchangeId;
 | 
	
		
			
				|  |  |     private String correlationId;
 | 
	
		
			
				|  |  |     private String transactionKey;
 | 
	
		
			
				|  |  |     @Indexed
 | 
	
		
			
				|  |  |     private String routeId;
 | 
	
		
			
				|  |  |     @Indexed
 | 
	
		
			
				|  |  |     private String breadcrumbId;
 | 
	
		
			
				|  |  |     private String camelContextId;
 | 
	
		
			
				|  |  |     private String body;
 | 
	
		
			
				|  |  |     private Date fireTime;
 | 
	
		
			
				|  |  |     private String bodyLength;
 | 
	
		
			
				|  |  |     private String fireTimeSource;
 | 
	
		
			
				|  |  |     @Indexed
 | 
	
		
			
				|  |  |     private Date fireTime;  //后期建议转成TTL
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public String getId() {
 | 
	
		
			
				|  |  |         return id;
 | 
	
	
		
			
				|  | @ -92,4 +99,20 @@ public class BusinessLog {
 | 
	
		
			
				|  |  |     public void setFireTime(Date fireTime) {
 | 
	
		
			
				|  |  |         this.fireTime = fireTime;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public String getBodyLength() {
 | 
	
		
			
				|  |  |         return bodyLength;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public void setBodyLength(String bodyLength) {
 | 
	
		
			
				|  |  |         this.bodyLength = bodyLength;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public String getFireTimeSource() {
 | 
	
		
			
				|  |  |         return fireTimeSource;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public void setFireTimeSource(String fireTimeSource) {
 | 
	
		
			
				|  |  |         this.fireTimeSource = fireTimeSource;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | }
 |