parent
b16df2f041
commit
e3dc99ee6f
@ -0,0 +1,18 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type TSysLoginpersonLog struct {
|
||||
IdentityId int32 `xorm:"not null comment('人员身份') INT(11)"`
|
||||
PersonId string `xorm:"not null comment('人员ID') CHAR(36)"`
|
||||
LoginName string `xorm:"not null comment('登录名') VARCHAR(255)"`
|
||||
IpAddress string `xorm:"not null comment('登录IP') VARCHAR(255)"`
|
||||
LoginTime time.Time `xorm:"not null default 'current_timestamp()' comment('登录时间') TIMESTAMP"`
|
||||
ProvinceCode string `xorm:"not null comment('省CODE') VARCHAR(255)"`
|
||||
CityCode string `xorm:"not null comment('市CODE') VARCHAR(255)"`
|
||||
DistrictCode string `xorm:"not null comment('县区CODE') VARCHAR(255)"`
|
||||
BureauId string `xorm:"not null comment('单位ID') CHAR(36)"`
|
||||
LoginState int32 `xorm:"not null comment('登录成功还是失败') INT(255)"`
|
||||
}
|
Loading…
Reference in new issue