ums_member

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryBuilder

func NewQueryBuilder() *umsMemberQueryBuilder

Types

type UmsMember

type UmsMember struct {
	Id                    int64     //
	MemberLevelId         int64     //
	Username              string    // 用户名
	Password              string    // 密码
	Nickname              string    // 昵称
	Phone                 string    // 手机号码
	Status                int32     // 帐号启用状态:0->禁用;1->启用
	CreateTime            time.Time `gorm:"autoCreateTime"` // 注册时间
	Icon                  string    // 头像
	Gender                int32     // 性别:0->未知;1->男;2->女
	Birthday              time.Time `gorm:"type:date;default:'1000-01-01'"` // 生日
	City                  string    // 所做城市
	Job                   string    // 职业
	PersonalizedSignature string    // 个性签名
	SourceType            int32     // 用户来源
	Integration           int32     // 积分
	Growth                int32     // 成长值
	LuckeyCount           int32     // 剩余抽奖次数
	HistoryIntegration    int32     // 历史积分数量
}

UmsMember 会员表

func NewModel

func NewModel() *UmsMember

func (*UmsMember) Create

func (t *UmsMember) Create(db *gorm.DB) (id int64, err error)

Jump to

Keyboard shortcuts

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