Files
base/internal/domain/notification/notification.go
2026-04-10 18:25:21 +03:30

28 lines
389 B
Go

package notification
import (
"encoding/json"
"time"
"github.com/google/uuid"
)
type Notification struct {
ID uuid.UUID
UserID uuid.UUID
Title string
Description string
CreatedAt time.Time
UpdatedAt time.Time
Read bool
ReadAt *time.Time
Action string
ActionData json.RawMessage
ActionURL string
ActionText string
ActionIcon string
}