feat(training): add pricing and TrainingPrice with amount, currency and type (open|corporate)
This commit is contained in:
		
							parent
							
								
									db6ff45c99
								
							
						
					
					
						commit
						5d83bb0308
					
				
					 8 changed files with 316 additions and 45 deletions
				
			
		
							
								
								
									
										13
									
								
								internal/currency/currency.go
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								internal/currency/currency.go
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,13 @@ | |||
| package currency | ||||
| 
 | ||||
| type Currency string | ||||
| 
 | ||||
| const ( | ||||
| 	USD Currency = "USD" | ||||
| 	EUR Currency = "EUR" | ||||
| 	CZK Currency = "CZK" | ||||
| ) | ||||
| 
 | ||||
| var ( | ||||
| 	AllowedCurrencies = []Currency{USD, EUR, CZK} | ||||
| ) | ||||
		Reference in a new issue