thing_notification.go 595 B

123456789101112131415161718192021222324252627282930
  1. package models
  2. import "time"
  3. type ThingNotification struct {
  4. ThingID uint64
  5. NotificationDate time.Time
  6. CreatedAt time.Time
  7. UpdatedAt time.Time
  8. }
  9. type AddThingNotificationRequest struct {
  10. ThingID uint64
  11. NotificationDate time.Time
  12. }
  13. type UpdateThingNotificationRequest struct {
  14. ThingID uint64
  15. NotificationDate time.Time
  16. }
  17. type ExtThingNotification struct {
  18. ThingID uint64
  19. PlaceID uint64
  20. ThingTitle string
  21. PlaceTitle string
  22. NotificationDate time.Time
  23. CreatedAt time.Time
  24. UpdatedAt time.Time
  25. }