entity

package
v0.0.0-...-2022bb5 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Floor

type Floor struct {
	Id        int         `json:"id"        orm:"id"         ` //
	LibId     int         `json:"libId"     orm:"lib_id"     ` //
	FloorName string      `json:"floorName" orm:"floor_name" ` //
	CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" ` //
	UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" ` //
}

Floor is the golang structure for table floor.

type Lib

type Lib struct {
	Id        int         `json:"id"        orm:"id"         ` //
	LibName   string      `json:"libName"   orm:"lib_name"   ` //
	Address   string      `json:"address"   orm:"address"    ` // 地址
	Active    bool        `json:"active"    orm:"active"     ` // 是否正在使用
	CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" ` //
	UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" ` //
}

Lib is the golang structure for table lib.

type Location

type Location struct {
	Id           int         `json:"id"           orm:"id"            ` //
	LibId        int         `json:"libId"        orm:"lib_id"        ` //
	FloorId      int         `json:"floorId"      orm:"floor_id"      ` //
	LocationName string      `json:"locationName" orm:"location_name" ` //
	CreatedAt    *gtime.Time `json:"createdAt"    orm:"created_at"    ` //
	UpdatedAt    *gtime.Time `json:"updatedAt"    orm:"updated_at"    ` //
}

Location is the golang structure for table location.

Jump to

Keyboard shortcuts

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