Files
isp-admin-service/domain/audit.go
T
txix 0ad3e3dead
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
2026-02-16 16:26:43: merge [main:5ee9d8568258a2e35dfce4aba80a607d007c2f0c];
2026-02-16 16:26:43 +03:00

43 lines
530 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
}