// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.

package model

const TableNameUserAccount = "user_account"

// UserAccount mapped from table <user_account>
type UserAccount struct {
	ID          int64  `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"`
	AccID       int64  `gorm:"column:accId;type:bigint(20);index:IDX_user_account_1_accId,priority:1" json:"accId"`
	Openid      string `gorm:"column:openid;type:varchar(255);index:IDX_user_account_1_openid,priority:1" json:"openid"`
	Nickname    string `gorm:"column:nickname;type:varchar(255)" json:"nickname"`
	Avatar      string `gorm:"column:avatar;type:varchar(512)" json:"avatar"`
	Account     string `gorm:"column:account;type:varchar(255)" json:"account"`
	Password    string `gorm:"column:password;type:varchar(255)" json:"password"`
	Inviter     int64  `gorm:"column:inviter;type:bigint(20)" json:"inviter"`
	Createtime  int64  `gorm:"column:createtime;type:bigint(20)" json:"createtime"`
	Platopenid  string `gorm:"column:platopenid;type:varchar(255)" json:"platopenid"`
	Channel     int32  `gorm:"column:channel;type:int(11)" json:"channel"`
	Picture     int32  `gorm:"column:picture;type:int(11)" json:"picture"`
	Idcard      string `gorm:"column:idcard;type:varchar(255)" json:"idcard"`
	Name        string `gorm:"column:name;type:varchar(255)" json:"name"`
	Borntime    int64  `gorm:"column:borntime;type:bigint(20)" json:"borntime"`
	Gametime    int64  `gorm:"column:gametime;type:bigint(20)" json:"gametime"`
	Gametimelen int32  `gorm:"column:gametimelen;type:int(11)" json:"gametimelen"`
	Sessionkey  string `gorm:"column:sessionkey;type:varchar(255)" json:"sessionkey"`
	Unionid     string `gorm:"column:unionid;type:varchar(255)" json:"unionid"`
	Server      int32  `gorm:"column:server;type:int(11)" json:"server"`
	Summary     string `gorm:"column:summary;type:text" json:"summary"`
	Ban         int32  `gorm:"column:ban;type:int(11)" json:"ban"`
	GdtVid      string `gorm:"column:gdtVid;type:varchar(255)" json:"gdtVid"`
	AID         string `gorm:"column:aId;type:varchar(255)" json:"aId"`
	Flag        int32  `gorm:"column:flag;type:int(11)" json:"flag"`
	AdSrc       string `gorm:"column:adSrc;type:varchar(128)" json:"adSrc"`
}

// TableName UserAccount's table name
func (*UserAccount) TableName() string {
	return TableNameUserAccount
}
