entity

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserId                = "id"
	UserUid               = "uid"
	UserNickName          = "nick_name"
	UserAvatarUri         = "avatar_uri"
	UserReadingPreference = "reading_preference"
	UserCreateTime        = "create_time"
	UserUpdateTime        = "update_time"
	UserAutoBuy           = "auto_buy"
	UserIsAutoBuy         = "is_auto_buy"
)

User column names.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	Id                uint32    `json:"id"`
	Uid               int64     `json:"uid"`
	NickName          string    `json:"nick_name"`
	AvatarUri         string    `json:"avatar_uri"`
	ReadingPreference int8      `json:"reading_preference"`
	CreateTime        time.Time `json:"create_time"`
	UpdateTime        time.Time `json:"update_time"`
	AutoBuy           int8      `json:"auto_buy"`
	IsAutoBuy         int8      `json:"is_auto_buy"`
}

User entity a user struct data.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL