scanfile/server/internal/sqlc/models.go
2025-08-15 19:16:20 +02:00

96 lines
1.9 KiB
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.29.0
package sqlc
import (
"github.com/jackc/pgx/v5/pgtype"
)
type CapaResult struct {
ID int64
FileID pgtype.UUID
Data []byte
Type string
Created pgtype.Timestamp
}
type Diec struct {
ID int64
FileID pgtype.UUID
Data []byte
Created pgtype.Timestamp
}
type File struct {
ID pgtype.UUID
Name string
Description pgtype.Text
Mimetype string
Size int64
Blake2 []byte
Score pgtype.Numeric
Creator pgtype.Int8
Created pgtype.Timestamp
Updated pgtype.Timestamp
}
type FileProperty struct {
ID int64
FileID pgtype.UUID
Sha256 []byte
Md5 []byte
LibmagicMime pgtype.Text
LibmagicExtension pgtype.Text
LibmagicApple pgtype.Text
Created pgtype.Timestamp
}
type Msoffice struct {
ID int64
FileID pgtype.UUID
Verdict pgtype.Text
ContainerFormat pgtype.Text
Encrypted pgtype.Bool
FileFormat pgtype.Text
VbaMacros pgtype.Text
XlmMacros pgtype.Text
VbaStomping pgtype.Bool
NbAutoexec pgtype.Int4
NbIocs pgtype.Int4
NbMacros pgtype.Int4
NbSuspicious pgtype.Int4
OlevbaResults [][]string
Macros [][]string
Created pgtype.Timestamp
}
type ProcessingJob struct {
ID int64
FileID pgtype.UUID
Created pgtype.Timestamp
Started pgtype.Timestamp
Completed pgtype.Timestamp
Status pgtype.Text
JobType pgtype.Text
Error pgtype.Text
Messages []string
}
type User struct {
ID int64
UserName string
DisplayName string
PwHash []byte
EmailAddress string
Enabled bool
Created pgtype.Timestamp
}
type YaraResult struct {
ID int64
FileID pgtype.UUID
Matched []string
Created pgtype.Timestamp
}