mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 13:10:24 +08:00 
			
		
		
		
	
		
			
	
	
		
			16 lines
		
	
	
		
			250 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			250 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
| 
								 | 
							
								syntax = "proto3";
							 | 
						||
| 
								 | 
							
								option go_package = "./pb";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								package pb;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								message User {
							 | 
						||
| 
								 | 
							
									int64 id = 1;
							 | 
						||
| 
								 | 
							
									string username = 2;
							 | 
						||
| 
								 | 
							
									string fullname = 3;
							 | 
						||
| 
								 | 
							
									string mobile = 4;
							 | 
						||
| 
								 | 
							
									string tel = 5;
							 | 
						||
| 
								 | 
							
									string email = 6;
							 | 
						||
| 
								 | 
							
									string remark = 7;
							 | 
						||
| 
								 | 
							
									bool isOn = 8;
							 | 
						||
| 
								 | 
							
									int64 createdAt = 9;
							 | 
						||
| 
								 | 
							
								}
							 |