customergroup

package
v1.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Query

Types

type CustomerGroup

type CustomerGroup struct {
	mixin.Model

	Name string `json:"name"`

	// Arbitrary metadata
	Metadata  Map    `json:"metadata,omitempty" datastore:"-"`
	Metadata_ string `json:"-" datastore:",noindex"`
}

func New

func (*CustomerGroup) Defaults

func (g *CustomerGroup) Defaults()

func (*CustomerGroup) Init

func (g *CustomerGroup) Init(db *datastore.Datastore)

func (CustomerGroup) Kind

func (g CustomerGroup) Kind() string

func (*CustomerGroup) Load

func (g *CustomerGroup) Load(ps []datastore.Property) (err error)

func (*CustomerGroup) Save

func (g *CustomerGroup) Save() ([]datastore.Property, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL