生成表结构、
This commit is contained in:
28
internal/model/do/user_login_records.go
Normal file
28
internal/model/do/user_login_records.go
Normal file
@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// UserLoginRecords is the golang structure of table user_login_records for DAO operations like Where/Data.
|
||||
type UserLoginRecords struct {
|
||||
g.Meta `orm:"table:user_login_records, do:true"`
|
||||
Id interface{} // 记录ID
|
||||
UserId interface{} // 用户ID
|
||||
StoreId interface{} // 登录门店ID
|
||||
MerchantId interface{} // 所属商户ID
|
||||
LoginIp interface{} // 登录IP地址
|
||||
LoginDevice interface{} // 登录设备信息
|
||||
LoginPlatform interface{} // 登录平台:1=Web,2=iOS,3=Android,4=微信小程序,5=支付宝小程序,6=其他
|
||||
LoginType interface{} // 登录方式:1=微信,2=手机号,3=账号密码,4=其他
|
||||
LoginStatus interface{} // 登录状态:1=成功,2=失败
|
||||
FailReason interface{} // 失败原因
|
||||
CreatedAt *gtime.Time // 登录时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
Reference in New Issue
Block a user