19 lines
439 B
Go
19 lines
439 B
Go
package account
|
|
|
|
import (
|
|
"bygdata/global"
|
|
"time"
|
|
)
|
|
|
|
type UserInfo struct {
|
|
global.GVA_MODEL2
|
|
Userno string `json:"userno" gorm:"column:userno"`
|
|
ClientIp string `json:"clientIp" gorm:"column:client_ip"`
|
|
RegisterTime time.Time `json:"registerTime" gorm:"column:register_time"`
|
|
LatestTime time.Time `json:"latestTime" gorm:"column:latest_time"`
|
|
}
|
|
|
|
func (UserInfo) TableName() string {
|
|
return "byl_data.user_info"
|
|
}
|