package db

import "time"

// mysql table "param_dict"
type ConfigDictRow struct {
	ID            int64      `db:"id"`
	ClusterType   string     `db:"cluster_type"`
	ConfigType    string     `db:"config_type"`
	Version       string     `db:"version"`
	ParamKey      string     `db:"param_key"`
	DefaultValue  anyValue   `db:"default_value"`
	Type          string     `db:"type"`
	Deprecated    *string    `db:"verify_expr"`
	HotReloadable *bool      `db:"hot_reloadable"`
	RiskLevel     string     `db:"risk_level"`
	Description   *string    `db:"description"`
	NeedTemplate  *bool      `db:"need_template"`
	Validation    *string    `db:"validation"`
	UpdatedBy     string     `db:"updated_by"`
	CreateTime    time.Time  `db:"create_time"`
	UpdateTime    time.Time  `db:"update_time"`
	DeleteTime    *time.Time `db:"delete_time"`
}
