25 lines
787 B
Go
25 lines
787 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type LogEventParams struct {
|
|
ID int `json:"id"`
|
|
UserID *string `json:"user_id"`
|
|
ParticipantID *string `json:"participant_id"`
|
|
ActivityType int `json:"activity_type"`
|
|
IPAddress string `json:"ip_address"`
|
|
FieldUpdated interface{} `json:"field_updated"`
|
|
Time *time.Time `json:"time"`
|
|
ErrorMessage string `json:"error_message"`
|
|
}
|
|
|
|
type UserAccessLog struct {
|
|
ID int `json:"id"`
|
|
UserID *string `json:"user_id"`
|
|
ParticipantID *string `json:"participant_id"`
|
|
ActivityType int `json:"activity_type"`
|
|
IPAddress string `json:"ip_address"`
|
|
FieldUpdated interface{} `json:"field_updated"`
|
|
Time time.Time `json:"time"`
|
|
}
|