mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-10 17:23:19 +03:00
20 lines
602 B
Go
20 lines
602 B
Go
package dto
|
|
|
|
import (
|
|
"github.com/stonith404/pocket-id/backend/internal/model"
|
|
datatype "github.com/stonith404/pocket-id/backend/internal/model/types"
|
|
)
|
|
|
|
type AuditLogDto struct {
|
|
ID string `json:"id"`
|
|
CreatedAt datatype.DateTime `json:"createdAt"`
|
|
|
|
Event model.AuditLogEvent `json:"event"`
|
|
IpAddress string `json:"ipAddress"`
|
|
Country string `json:"country"`
|
|
City string `json:"city"`
|
|
Device string `json:"device"`
|
|
UserID string `json:"userID"`
|
|
Data model.AuditLogData `json:"data"`
|
|
}
|