feat: persist versioned organization needs

This commit is contained in:
TakuyaYagam1 committed 2026-10-07 16:25:17 +03:00
1 parent f81cd0ae09
commit ee3738ee73
14 files changed
+2388

No files matched your search

@@ -396,6 +396,22 @@ type OrganizationCreationResult struct {
Snapshot []byte
}
type OrganizationNeed struct {
ID pgtype.UUID
OrganizationID pgtype.UUID
CurrentVersion int64
RequirementsVersion int64
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type OrganizationNeedVersion struct {
OrganizationID pgtype.UUID
NeedID pgtype.UUID
Version int64
Snapshot []byte
}
type OrganizationRepresentative struct {
OrganizationID pgtype.UUID
Ordinal int16