mysql_basket_structs.go 802 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. }
  14. type MySql_basket struct {
  15. Products *[]MySql_basket_product
  16. Currency *MySql_basket_currency
  17. TotalSum float64
  18. TotalCount int
  19. }
  20. // type MySql_basket_order struct {
  21. // A_currency_id int
  22. // A_currency_name string
  23. // A_currency_coefficient float64
  24. // A_currency_code string
  25. // A_currency_symbol string
  26. // A_client_last_name string
  27. // A_client_first_name string
  28. // A_client_second_name string
  29. // A_client_phone string
  30. // A_client_email string
  31. // A_client_delivery_comment string
  32. // A_client_order_comment string
  33. // A_status string
  34. // }