organization

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Member

type Member struct {
	ID             string     `db:"id"`
	UserID         string     `db:"user_id"`
	OrganizationID string     `db:"organization_id"`
	CreatedAt      time.Time  `db:"created_at"`
	CreatedBy      string     `db:"created_by"`
	DeletedAt      *time.Time `db:"deleted_at"`
	DeletedBy      *string    `db:"deleted_by"`
}

type Organization

type Organization struct {
	ID        string              `db:"id"`
	ShortID   ShortOrganizationID `db:"short_id"` // Used in web slugs
	Name      string              `db:"name"`
	CreatedAt time.Time           `db:"created_at"`
	CreatedBy string              `db:"created_by"`
	DeletedAt *time.Time          `db:"deleted_at"`
	DeletedBy *string             `db:"deleted_by"`
}

type ShortOrganizationID

type ShortOrganizationID string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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