model

package
v0.0.0-...-5f0c23e Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Country

type Country struct {
	Name string `json:"name"`
}

type Family

type Family struct {
	ID      string    `json:"id"`
	Name    *string   `json:"Name"`
	Country *string   `json:"Country"`
	Members []*Member `json:"Members"`
}

type Member

type Member struct {
	ID     string  `json:"id"`
	Type   *string `json:"Type"`
	Person *Person `json:"Person"`
}

type Person

type Person struct {
	ID          string    `json:"id"`
	FirstName   string    `json:"FirstName"`
	LastName    string    `json:"LastName"`
	DateOfBirth string    `json:"DateOfBirth"`
	Country     *string   `json:"Country"`
	Spouse      *Person   `json:"Spouse"`
	Father      *Person   `json:"Father"`
	Mother      *Person   `json:"Mother"`
	Children    []*Person `json:"Children"`
}

type Work

type Work struct {
	ID       string    `json:"id"`
	Name     *string   `json:"Name"`
	Country  *string   `json:"Country"`
	Industry *string   `json:"Industry"`
	Ceo      *Person   `json:"CEO"`
	Employee []*Person `json:"Employee"`
}

Jump to

Keyboard shortcuts

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