mysql_struct_shop_product.go 438 B

123456789101112131415161718192021222324252627
  1. package utils
  2. import (
  3. "database/sql"
  4. )
  5. type MySql_shop_product struct {
  6. A_id int
  7. A_parent sql.NullInt64
  8. A_user int
  9. A_currency int
  10. A_price float64
  11. A_gname string
  12. A_name string
  13. A_alias string
  14. A_vendor string
  15. A_quantity int
  16. A_category int
  17. A_briefly string
  18. A_content string
  19. A_datetime int
  20. A_active int
  21. }
  22. func (this *MySql_shop_product) A_parent_id() int {
  23. return int(this.A_parent.Int64)
  24. }