image.go 272 B

1234567891011121314
  1. package models
  2. import (
  3. "database/sql"
  4. "time"
  5. )
  6. type Image struct {
  7. ID uint64 `db:"id"`
  8. ThingID sql.NullInt64 `db:"thing_id"`
  9. PlaceID sql.NullInt64 `db:"place_id"`
  10. Image string `db:"image"`
  11. CreatedAt time.Time `db:"created_at"`
  12. }