Add gRPC server implementation and database integration for marketplace and products
This commit is contained in:
		
							
								
								
									
										17
									
								
								internal/marketplace/db/models.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								internal/marketplace/db/models.go
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
// Code generated by sqlc. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
//   sqlc v1.28.0
 | 
			
		||||
 | 
			
		||||
package db
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"github.com/jackc/pgx/v5/pgtype"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type Marketplace struct {
 | 
			
		||||
	ID              int32
 | 
			
		||||
	BaseMarketplace int32
 | 
			
		||||
	Name            string
 | 
			
		||||
	AuthData        pgtype.Text
 | 
			
		||||
	WarehouseID     pgtype.Text
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user