feat(assessment): add immutable family versions and the demo bank loader
This commit is contained in:
1 parent
94488e2b57
commit
204c6bae62
28 files changed
+6269
-9
No files matched your search
@@ -8,6 +8,40 @@ import (
|
||||
"github.com/jackc/pgx/v5/pgtype"
|
||||
)
|
||||
|
||||
type AssessmentCategoryOpening struct {
|
||||
ID pgtype.UUID
|
||||
Category string
|
||||
PolicyVersionID pgtype.UUID
|
||||
OpenedBy string
|
||||
RequiredFamilies int32
|
||||
PublishedFamilies int32
|
||||
OpenedAt pgtype.Timestamptz
|
||||
}
|
||||
|
||||
type AssessmentFamily struct {
|
||||
ID pgtype.UUID
|
||||
FamilyKey string
|
||||
Version int32
|
||||
Category string
|
||||
Specialization string
|
||||
Title string
|
||||
BundleName string
|
||||
Author string
|
||||
Reviewer pgtype.Text
|
||||
ReviewStatus string
|
||||
SeedGenerator []byte
|
||||
AnswerKey []byte
|
||||
Rubric []byte
|
||||
ContentSha256 []byte
|
||||
HashScheme int16
|
||||
Lifecycle string
|
||||
CreatedAt pgtype.Timestamptz
|
||||
PublishedAt pgtype.Timestamptz
|
||||
PublishedBy pgtype.Text
|
||||
RetiredAt pgtype.Timestamptz
|
||||
RetiredBy pgtype.Text
|
||||
}
|
||||
|
||||
type ConsentRecord struct {
|
||||
ID pgtype.UUID
|
||||
SubjectID pgtype.UUID
|
||||
|
||||
Reference in new issue
Block a user