Passport/pkg/internal/models/events.go

13 lines
272 B
Go
Raw Normal View History

2024-01-30 09:57:23 +00:00
package models
type ActionEvent struct {
BaseModel
Type string `json:"type"`
Target string `json:"target"`
Location string `json:"location"`
IpAddress string `json:"ip_address"`
UserAgent string `json:"user_agent"`
AccountID uint `json:"account_id"`
}