2024-03-25 16:24:48: merge [main:72a62d1996eb71f9a1ab21643bf294148b87ae99];
This commit is contained in:
1 parent
0669c6ec0a
commit
ed8a4eef5d
85 files changed
+7671
-93
No files matched your search
@@ -0,0 +1,33 @@
|
||||
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 `valid:"required"`
|
||||
Offset int
|
||||
}
|
||||
|
||||
type SetAuditEvent struct {
|
||||
Event string
|
||||
Enabled bool
|
||||
}
|
||||
|
||||
type AuditEvent struct {
|
||||
Event string
|
||||
Name string
|
||||
Enabled bool
|
||||
}
|
||||
Reference in new issue
Block a user