2024-09-09 10:29:41 +02:00
|
|
|
package dto
|
|
|
|
|
|
|
|
|
|
import (
|
2025-02-05 18:08:01 +01:00
|
|
|
datatype "github.com/pocket-id/pocket-id/backend/internal/model/types"
|
2024-09-09 10:29:41 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type AuditLogDto struct {
|
2024-11-11 18:00:15 +01:00
|
|
|
ID string `json:"id"`
|
|
|
|
|
CreatedAt datatype.DateTime `json:"createdAt"`
|
2024-09-09 10:29:41 +02:00
|
|
|
|
2025-06-30 05:04:30 -07:00
|
|
|
Event string `json:"event"`
|
|
|
|
|
IpAddress string `json:"ipAddress"`
|
|
|
|
|
Country string `json:"country"`
|
|
|
|
|
City string `json:"city"`
|
|
|
|
|
Device string `json:"device"`
|
|
|
|
|
UserID string `json:"userID"`
|
|
|
|
|
Username string `json:"username"`
|
|
|
|
|
Data map[string]string `json:"data"`
|
2024-09-09 10:29:41 +02:00
|
|
|
}
|