package common

import (
	"fmt"

	"github.com/google/uuid"
)

type SubscriptionPackageToFeature struct {
	SubscriptionPackageID uuid.UUID `json:"package_id,omitempty" pg:"type:uuid,unique:subscription_packageid_featureid"`
	SubscriptionFeatureID uuid.UUID `json:"feature_id,omitempty" pg:"type:uuid,unique:subscription_packageid_featureid"`
}

func (sp *SubscriptionPackageToFeature) String() string {
	return fmt.Sprintf("SubscriptionPackageToFeature<%v, %v>", sp.SubscriptionPackageID, sp.SubscriptionFeatureID)
}
