package entity

import "go.mongodb.org/mongo-driver/bson/primitive"

const CollectionName = "settings"

type Setting struct {
	ID       primitive.ObjectID `bson:"_id,omitempty"`
	Scope    string             `bson:"scope"`
	ScopeID  string             `bson:"scope_id"`
	Key      string             `bson:"key"`
	Value    map[string]any     `bson:"value"`
	Version  int                `bson:"version"`
	CreateAt int64              `bson:"create_at"`
	UpdateAt int64              `bson:"update_at"`
}
