mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 21:50:26 +08:00 
			
		
		
		
	
		
			
	
	
		
			22 lines
		
	
	
		
			412 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
		
		
			
		
	
	
			22 lines
		
	
	
		
			412 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
| 
								 | 
							
								syntax = "proto3";
							 | 
						||
| 
								 | 
							
								option go_package = "./pb";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								package pb;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import "models/model_user.proto";
							 | 
						||
| 
								 | 
							
								import "models/model_http_cache_task_key.proto";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								message HTTPCacheTask {
							 | 
						||
| 
								 | 
							
									int64 id = 1;
							 | 
						||
| 
								 | 
							
									int64 userId = 2;
							 | 
						||
| 
								 | 
							
									string type = 3;
							 | 
						||
| 
								 | 
							
									string keyType = 4;
							 | 
						||
| 
								 | 
							
									int64 createdAt = 5;
							 | 
						||
| 
								 | 
							
									int64 doneAt = 6;
							 | 
						||
| 
								 | 
							
									bool isDone = 7;
							 | 
						||
| 
								 | 
							
									bool isOk = 8;
							 | 
						||
| 
								 | 
							
									string description = 9;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									User user = 30;
							 | 
						||
| 
								 | 
							
									repeated HTTPCacheTaskKey httpCacheTaskKeys = 31;
							 | 
						||
| 
								 | 
							
								}
							 |