Skip to content

Commit

Permalink
Merge branch 'feature/5782-add-is-based-on' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
PauloPortugal committed Aug 2, 2022
2 parents 4f020b8 + 6f74165 commit be2dce3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions models/dataset.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ import (
"strings"
"time"

errs "github.com/ONSdigital/dp-dataset-api/apierrors"
"github.com/ONSdigital/log.go/v2/log"
"github.com/pkg/errors"
uuid "github.com/satori/go.uuid"
"go.mongodb.org/mongo-driver/bson"

errs "github.com/ONSdigital/dp-dataset-api/apierrors"
"github.com/ONSdigital/log.go/v2/log"
)

// DatasetType defines possible dataset types
Expand Down Expand Up @@ -188,6 +189,7 @@ type Version struct {
State string `bson:"state,omitempty" json:"state,omitempty"`
Temporal *[]TemporalFrequency `bson:"temporal,omitempty" json:"temporal,omitempty"`
UsageNotes *[]UsageNote `bson:"usage_notes,omitempty" json:"usage_notes,omitempty"`
IsBasedOn *[]IsBasedOn `bson:"is_based_on,omitempty" json:"is_based_on,omitempty"`
Version int `bson:"version,omitempty" json:"version,omitempty"`
Type string `bson:"type,omitempty" json:"type,omitempty"`
ETag string `bson:"e_tag" json:"-"`
Expand Down

0 comments on commit be2dce3

Please sign in to comment.