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"         description:""`
	LibId     int         `json:"libId"     orm:"lib_id"     description:""`
	FloorName string      `json:"floorName" orm:"floor_name" description:""`
	CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
	UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
}

Floor is the golang structure for table floor.

type Lib

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

Lib is the golang structure for table lib.

type Location

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

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