Passport/pkg/internal/models/events.go
2024-06-16 23:17:32 +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"`
}