...
This commit is contained in:
		
							
								
								
									
										11
									
								
								specs/models_marketplace/core/base.v
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								specs/models_marketplace/core/base.v
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
module core
 | 
			
		||||
 | 
			
		||||
// BaseData provides common fields for all models
 | 
			
		||||
pub struct Base {
 | 
			
		||||
pub mut:
 | 
			
		||||
	id      u32
 | 
			
		||||
	created u64 // Unix timestamp of creation
 | 
			
		||||
	updated u64 // Unix timestamp of last update
 | 
			
		||||
	deleted bool
 | 
			
		||||
	version u32
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										1
									
								
								specs/models_marketplace/core/mod.v
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								specs/models_marketplace/core/mod.v
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
module core
 | 
			
		||||
		Reference in New Issue
	
	Block a user