tenants

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by Ice-cream-maker DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

type Scanner interface {
	Scan(dest ...interface{}) error
}

type Tenant

type Tenant struct {
	ID      int64              `column:"id"      json:"id,omitempty"`      // pk
	Hash    string             `column:"hash"    json:"hash,omitempty"`    // key pattern->sha1+hex_string
	Pattern string             `column:"pattern" json:"pattern,omitempty"` // tenant pattern
	Name    string             `column:"name"    json:"name,omitempty"`
	Summary vanilla.NullString `column:"summary" json:"summary,omitempty" swaggertype:"string"`
	Created time.Time          `column:"created" json:"created,omitempty"`
	Updated vanilla.NullTime   `column:"updated" json:"updated,omitempty" swaggertype:"string"`
	Deleted vanilla.NullTime   `column:"deleted" json:"deleted,omitempty" swaggertype:"string"`
}

func NewTenant

func NewTenant(hash, pattern string, t time.Time) *Tenant

func (Tenant) ColumnNames

func (Tenant) ColumnNames() []string

func (*Tenant) Ptrs

func (row *Tenant) Ptrs() []interface{}

func (*Tenant) Scan

func (row *Tenant) Scan(scanner Scanner) error

func (Tenant) TableName

func (Tenant) TableName() string

func (Tenant) Values

func (row Tenant) Values() []interface{}

type TenantChannels

type TenantChannels struct {
	ChannelUuid string `column:"channel_uuid" json:"channel_uuid,omitempty"` // pk FK(managed_channel.uuid)
	TenantId    int64  `column:"tenant_id"    json:"tenant_id,omitempty"`    //    FK(tenant.id)
}

TenantChannels Tenant(1): Channel(1)

func (TenantChannels) ColumnNames

func (TenantChannels) ColumnNames() []string

func (*TenantChannels) Ptrs

func (row *TenantChannels) Ptrs() []interface{}

func (*TenantChannels) Scan

func (row *TenantChannels) Scan(scanner Scanner) error

func (TenantChannels) TableName

func (TenantChannels) TableName() string

func (TenantChannels) Values

func (row TenantChannels) Values() []interface{}

type TenantClusters

type TenantClusters struct {
	ClusterId int64 `column:"cluster_id" json:"cluster_id,omitempty"` // pk FK(cluster.id)
	TenantId  int64 `column:"tenant_id"  json:"tenant_id,omitempty"`  //    FK(tenant.id)
}

TenantClusters Tenant(1): Cluster(1)

func (TenantClusters) ColumnNames

func (TenantClusters) ColumnNames() []string

func (*TenantClusters) Ptrs

func (row *TenantClusters) Ptrs() []interface{}

func (*TenantClusters) Scan

func (row *TenantClusters) Scan(scanner Scanner) error

func (TenantClusters) TableName

func (tc TenantClusters) TableName() string

func (TenantClusters) Values

func (row TenantClusters) Values() []interface{}

Jump to

Keyboard shortcuts

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