hasmany

package
v0.0.0-...-b8add86 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by badaas-cli v0.0.0, DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Company

type Company struct {
	model.UUIDModel

	Sellers *[]Seller // Company HasMany Sellers (Company 0..1 -> 0..* Seller)
}

func (Company) GetSellers

func (m Company) GetSellers() ([]Seller, error)

type Seller

type Seller struct {
	model.UUIDModel

	Company   *Company
	CompanyID *model.UUID // Company HasMany Sellers (Company 0..1 -> 0..* Seller)
}

func (Seller) GetCompany

func (m Seller) GetCompany() (*Company, error)

Jump to

Keyboard shortcuts

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