// ================================================================================= // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity import ( "github.com/gogf/gf/v2/os/gtime" ) // AppMember is the golang structure for table app_member. type AppMember struct { Id uint64 `json:"id" orm:"id" description:"主键"` TenantId uint64 `json:"tenantId" orm:"tenant_id" description:"租户ID"` MemberNo string `json:"memberNo" orm:"member_no" description:"会员编号"` Username string `json:"username" orm:"username" description:"用户名"` Mobile string `json:"mobile" orm:"mobile" description:""` PasswordHash string `json:"passwordHash" orm:"password_hash" description:"登录密码哈希(bcrypt)"` TradePasswordHash string `json:"tradePasswordHash" orm:"trade_password_hash" description:"交易密码哈希"` LevelId uint64 `json:"levelId" orm:"level_id" description:"会员等级ID"` ParentId uint64 `json:"parentId" orm:"parent_id" description:"上级会员ID"` Level int `json:"level" orm:"level" description:"团队层级"` Tree string `json:"tree" orm:"tree" description:"关系树"` InviteCode string `json:"inviteCode" orm:"invite_code" description:"邀请码"` MemberStatus int `json:"memberStatus" orm:"member_status" description:"会员状态"` RiskStatus int `json:"riskStatus" orm:"risk_status" description:"风控状态"` AutoDispatch int `json:"autoDispatch" orm:"auto_dispatch" description:"自动派单"` CreditScore int `json:"creditScore" orm:"credit_score" description:"信用分"` IsTestAccount int `json:"isTestAccount" orm:"is_test_account" description:"测试账号"` LastLoginAt *gtime.Time `json:"lastLoginAt" orm:"last_login_at" description:"最后登录时间"` LastLoginIpCipher string `json:"lastLoginIpCipher" orm:"last_login_ip_cipher" description:"最后登录IP密文"` LastLoginIpMask string `json:"lastLoginIpMask" orm:"last_login_ip_mask" description:"最后登录IP脱敏值"` LastLoginRegion string `json:"lastLoginRegion" orm:"last_login_region" description:"最后登录地区"` CreatedBy uint64 `json:"createdBy" orm:"created_by" description:"创建者"` UpdatedBy uint64 `json:"updatedBy" orm:"updated_by" description:"更新者"` DeletedBy uint64 `json:"deletedBy" orm:"deleted_by" 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:"注销时间"` }