entity

package
v0.0.0-...-042122a Latest Latest
Warning

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

Go to latest
Published: Aug 7, 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 User

type User struct {
	Id        int64       `json:"id"        orm:"id"         ` //
	Username  string      `json:"username"  orm:"username"   ` //
	Password  string      `json:"password"  orm:"password"   ` //
	Phone     string      `json:"phone"     orm:"phone"      ` //
	CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" ` //
	UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" ` //
}

User is the golang structure for table user.

type UserLib

type UserLib struct {
	UserId int64 `json:"userId" orm:"user_id" ` //
	LibId  int   `json:"libId"  orm:"lib_id"  ` //
}

UserLib is the golang structure for table user_lib.

Jump to

Keyboard shortcuts

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