19 lines
563 B
Go
19 lines
563 B
Go
package models
|
|
|
|
type ActivityLogEntry struct {
|
|
ID string `json:"id"`
|
|
UserID string `json:"user_id"`
|
|
Username string `json:"username"`
|
|
Action string `json:"action"`
|
|
EntityType string `json:"entity_type"`
|
|
EntityID string `json:"entity_id"`
|
|
Details string `json:"details"`
|
|
Method string `json:"method"`
|
|
Path string `json:"path"`
|
|
StatusCode int `json:"status_code"`
|
|
Success bool `json:"success"`
|
|
IPAddress string `json:"ip_address"`
|
|
UserAgent string `json:"user_agent"`
|
|
CreatedAt int64 `json:"created_at"`
|
|
}
|