// ================================================================================= // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity import ( "github.com/gogf/gf/v2/os/gtime" ) // UserLoginRecords is the golang structure for table user_login_records. type UserLoginRecords struct { Id int64 `json:"id" orm:"id" description:"记录ID"` // 记录ID UserId int64 `json:"userId" orm:"user_id" description:"用户ID"` // 用户ID StoreId int64 `json:"storeId" orm:"store_id" description:"登录门店ID"` // 登录门店ID MerchantId int64 `json:"merchantId" orm:"merchant_id" description:"所属商户ID"` // 所属商户ID LoginIp string `json:"loginIp" orm:"login_ip" description:"登录IP地址"` // 登录IP地址 LoginDevice string `json:"loginDevice" orm:"login_device" description:"登录设备信息"` // 登录设备信息 LoginPlatform int `json:"loginPlatform" orm:"login_platform" description:"登录平台:1=Web,2=iOS,3=Android,4=微信小程序,5=支付宝小程序,6=其他"` // 登录平台:1=Web,2=iOS,3=Android,4=微信小程序,5=支付宝小程序,6=其他 LoginType int `json:"loginType" orm:"login_type" description:"登录方式:1=微信,2=手机号,3=账号密码,4=其他"` // 登录方式:1=微信,2=手机号,3=账号密码,4=其他 LoginStatus int `json:"loginStatus" orm:"login_status" description:"登录状态:1=成功,2=失败"` // 登录状态:1=成功,2=失败 FailReason string `json:"failReason" orm:"fail_reason" description:"失败原因"` // 失败原因 CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"登录时间"` // 登录时间 UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间 DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳 }