Passport/pkg/models/events.go
2024-01-30 17:57:23 +08:00

13 lines
272 B
Go

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"`
}