26 lines
603 B
Go
26 lines
603 B
Go
package models
|
|
|
|
type AuditLogFilter struct {
|
|
Actor string `json:"actor"`
|
|
Action string `json:"action"`
|
|
TargetType string `json:"targetType"`
|
|
Limit int `json:"limit"`
|
|
Offset int `json:"offset"`
|
|
}
|
|
|
|
type AppLog struct {
|
|
ID int64 `json:"id"`
|
|
Level string `json:"level"`
|
|
Module string `json:"module"`
|
|
Message string `json:"message"`
|
|
Detail string `json:"detail"`
|
|
CreatedAt string `json:"createdAt"`
|
|
}
|
|
|
|
type AppLogFilter struct {
|
|
Level string `json:"level"`
|
|
Module string `json:"module"`
|
|
Limit int `json:"limit"`
|
|
Offset int `json:"offset"`
|
|
}
|