entity

package
v0.0.0-...-160c400 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	xdb.Entity
	Account  string `json:"account"`
	Password string `json:"password"`
	Token    string `json:"token"`
	xdb.CUDTime
}

func (Account) TableName

func (e Account) TableName() string

type User

type User struct {
	xdb.Entity
	Name     string `json:"name"`
	Phone    string `json:"phone"`
	Email    string `json:"email"`
	Password string `json:"password"`
	Status   int32  `json:"status"`
	xdb.CUDTime
}

func (User) TableName

func (e User) TableName() string

Jump to

Keyboard shortcuts

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