Files
isp-admin-service/domain/audit.go
T
2024-06-13 18:12:14 +03:00

34 lines
404 B
Go

package domain
import (
"time"
)
type Audit struct {
Id int
UserId int
Message string
CreatedAt time.Time
}
type AuditResponse struct {
TotalCount int
Items []Audit
}
type PageRequest struct {
Limit int `validate:"required"`
Offset int
}
type SetAuditEvent struct {
Event string
Enabled bool
}
type AuditEvent struct {
Event string
Name string
Enabled bool
}