mysql_basket_structs.go 521 B

123456789101112131415161718192021222324252627282930
  1. package utils
  2. type MySql_basket_currency struct {
  3. Id int
  4. Name string
  5. Coefficient float64
  6. Code string
  7. Symbol string
  8. }
  9. type MySql_basket_product struct {
  10. A_product_id int
  11. A_price float64
  12. A_quantity int
  13. RenderName string
  14. RenderLink string
  15. RenderPrice string
  16. RenderQuantity int
  17. RenderSum string
  18. }
  19. type MySql_basket struct {
  20. Products *[]MySql_basket_product
  21. Currency *MySql_basket_currency
  22. TotalSum float64
  23. TotalCount int
  24. RenderTotalSum string
  25. }