thing_notification.go 580 B

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