dao

package
v0.0.0-...-ae0fa50 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: GPL-3.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 Address

type Address struct {
	StreetAddress  string `json:"streetAddress,omitempty"`
	StreetAddress2 string `json:"streetAddress2,omitempty"`
	City           string `json:"city,omitempty"`
	State          string `json:"state,omitempty"`
	ZipCode        string `json:"zipCode,omitempty"`
	Country        string `json:"country,omitempty"`
}

Address - address dao

type Book

type Book struct {
	BookID   int    `json:"bookID,omitempty"`
	BookName string `json:"bookName,omitempty"`
	Author   string `json:"author,omitempty"`
}

Book - book dao

type Student

type Student struct {
	StudentID int      `json:"studentID,omitempty"`
	Name      string   `json:"name,omitempty"`
	Age       int      `json:"age,omitempty"`
	Address   *Address `json:"address,omitempty"`
}

Student - student dao

type StudentBook

type StudentBook struct {
	Student *Student `json:"student,omitempty"`
	Books   *[]Book  `json:"books,omitempty"`
}

StudentBook - student dao

Jump to

Keyboard shortcuts

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