models

package
v0.0.0-...-8e1814b Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistoryUserLogin

type HistoryUserLogin struct {
	Id             int       `xorm:"not null pk autoincr INT(11)"`
	UserId         int64     `xorm:"not null comment('用户ID')"`
	GeoRemoteAddr  string    `xorm:"not null comment('用户登录IP') VARCHAR(50)"`
	GeoCountry     string    `xorm:"not null comment('IP所在国家') VARCHAR(100)"`
	GeoCity        string    `xorm:"not null comment('IP所在城市') VARCHAR(100)"`
	DeviceDetector string    `xorm:"not null comment('设备检测器') VARCHAR(1000)"`
	CreateTime     time.Time `xorm:"not null comment('创建时间') DATETIME"`
}

HistoryUserLogin struct

func (*HistoryUserLogin) Add

Add 添加

func (*HistoryUserLogin) TableName

func (e *HistoryUserLogin) TableName() string

TableName 表的名称

Jump to

Keyboard shortcuts

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