Files
isp-admin-service/domain/audit.go
T
txix c1bb2cf4ed
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
2026-03-23 17:08:40: merge [main:2d7adad8000642a271d9ea575fab87f8373d2e5d];
2026-03-23 17:08:40 +03:00

43 lines
531 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 AuditPageRequest struct {
LimitOffestParams
Order *OrderParams
Query *AuditQuery
}
type AuditQuery struct {
Id *int
UserId []int
Message *string
CreatedAt *DateFromToParams
}
type SetAuditEvent struct {
Event string
Enabled bool
}
type AuditEvent struct {
Event string
Name string
Enabled bool
}