scanfile/server/internal/sqlc/models.go

72 lines
1.4 KiB
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.29.0
package sqlc
import (
"github.com/jackc/pgx/v5/pgtype"
)
type Diec struct {
ID int64
FileID pgtype.UUID
Data []byte
}
type File struct {
ID pgtype.UUID
Name string
Description pgtype.Text
Mimetype string
Size int64
Blake2 []byte
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
}
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
}
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 YaraResult struct {
ID int64
FileID pgtype.UUID
Matched []string
}