package common

import (
	"fmt"

	"github.com/fiskerinc/cloud-services/pkg/common/dbbasemodel"
)

type SUMSVersion struct {
	Version   string `json:"version" pg:"version,pk"`
	OSVersion string `json:"os_version" pg:"os_version"`
	dbbasemodel.DBModelBase
}

func (umv *SUMSVersion) String() string {
	return fmt.Sprintf("SUMSVersion <%s>", umv.Version)
}

type SUMSVersionCreate struct {
	SUMSVersions []SUMSVersion
}
