File size: 632 Bytes
16cdcb7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | package subscription
import (
"time"
"github.com/openmeterio/openmeter/pkg/models"
)
type SubscriptionPhase struct {
models.NamespacedID `json:",inline"`
models.ManagedModel `json:",inline"`
models.MetadataModel `json:",inline"`
ActiveFrom time.Time `json:"activeFrom"`
// SubscriptionID is the ID of the subscription this phase belongs to.
SubscriptionID string `json:"subscriptionId"`
// Key is the unique key for Phase.
Key string `json:"key"`
// Name
Name string `json:"name"`
// Description
Description *string `json:"description,omitempty"`
// SortHint
SortHint *uint8 `json:"sortHint,omitempty"`
}
|