package asset import ( "encoding/json" "time" "github.com/google/uuid" ) //go:generate stringer -type=Status type Status int const ( StatusPublished Status = iota StatusDisabled StatusPending StatusDeleted ) type Asset struct { ID uuid.UUID ProfileID uuid.UUID Status Status AssetCategoryID uuid.UUID AssetCategory Category Title string Description string Link string Analytics json.RawMessage Reports []Report AssetArtifacts []Artifact Comments []Comment CreatedAt time.Time UpdatedAt time.Time }