package common

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

type Configuration struct {
	ID         string `pg:",pk,unique" json:"id" validate:"required,max=256"`
	UniqueCode string `json:"unique_code" validate:"min=8,max=8"`
	UserId     string `json:"user_id" validate:"required"`
	Trim       string `json:"trim" validate:"min=2,max=2"`
	Color      string `json:"color" validate:"min=2,max=2"`
	Interior   string `json:"interior" validate:"min=2,max=2"`
	Wheels     string `json:"wheels" validate:"min=2,max=2"`
	dbbasemodel.DBModelBase
}
