MSP-8974 remove unused structs

This commit is contained in:
chashintv committed 2026-11-20 18:21:29 +03:00
1 parent eb5f823bee
commit 47cb584800
2 files changed
-49

No files matched your search

-20
View File
@@ -1,20 +0,0 @@
package domain
type AuditDownloadRequest struct {
LimitOffsetParams
Order *OrderParams
Query *AuditQuery
}
type SessionDownloadRequest struct {
LimitOffsetParams
Order *OrderParams
Query *SessionQuery
}
type UsersDownloadRequest struct {
LimitOffsetParams
Order *OrderParams
Query *UserQuery
}
-29
View File
@@ -1,7 +1,5 @@
package entity
import "time"
const (
SessionStatusAllowed = "ALLOWED"
SessionStatusAllowedRus = "Активная"
@@ -13,33 +11,6 @@ const (
SessionStatusRevokedRus = "Отмененная"
)
type AuditResponse struct {
TotalCount int
Items []Audit
}
type Session struct {
Id int
UserId int
Status string
ExpiredAt time.Time
CreatedAt time.Time
}
type SessionResponse struct {
TotalCount int
Items []Session
}
type UsersResponse struct {
Items []User
}
type Permission struct {
Key string
Name string
}
func AuditColumnNames() []string {
return []string{"Пользователь", "Время события", "Действие"}
}