// Code generated by sql2gorm. DO NOT EDIT.
package entity

import (
	"time"
)

type PlatformKuaishouUserInfo struct {
	ID           int64     `gorm:"column:id;primary_key"` // id
	OpenId       string    `gorm:"column:open_id;NOT NULL"`
	PlatformId   int64     `gorm:"column:platform_id;NOT NULL"`
	TalentId     string    `gorm:"column:talent_id;NOT NULL"`
	Code         string    `gorm:"column:code;NOT NULL"`
	AccessToken  string    `gorm:"column:access_token;NOT NULL"`
	RefreshToken string    `gorm:"column:refresh_token;NOT NULL"`
	NickName     string    `gorm:"column:nick_name;NOT NULL"`
	HeadUri      string    `gorm:"column:head_uri;NOT NULL"`
	Fan          string    `gorm:"column:fan;NOT NULL"`
	Expired      int64     `gorm:"column:expired"`
	SaleNumTotal int64     `gorm:"column:sale_num_total;NOT NULL"`
	SaleNum30day int64     `gorm:"column:sale_num_30day;NOT NULL"`
	CreateTime   time.Time `gorm:"column:create_time;NOT NULL"`
	UpdateTime   time.Time `gorm:"column:update_time;NOT NULL"`
	IsDelete     int64     `gorm:"column:is_delete;NOT NULL"`
	LikeNum      int64     `gorm:"column:like_num;NOT NULL"`
	VideoNum     int64     `gorm:"column:video_num;NOT NULL"`
	City         string    `gorm:"column:city"`
}

func (m *PlatformKuaishouUserInfo) TableName() string {
	return "platform_kuaishou_user_info"
}
