package models

import (
	"time"

	"github.com/google/uuid"
)

type PlatformConfig struct {
	Key       string     `gorm:"type:varchar(128);primaryKey" json:"key"`
	Value     string     `gorm:"type:text" json:"value"`
	Encrypted bool       `gorm:"default:false" json:"encrypted"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	UpdatedBy *uuid.UUID `gorm:"type:uuid" json:"updated_by,omitempty"`
}
