entry

package
v0.0.0-...-e505ea4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package entry @Description TODO @Author jiangyang @Created 2022/3/20 3:39 PM

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserModel

type UserModel struct {
	Id           uint64 `gorm:"primarykey"`
	UUID         string `gorm:"uniqueIndex;type:varchar(36);not null"`
	Mobile       string `gorm:"uniqueIndex;type:varchar(11)"`
	Email        string `gorm:"uniqueIndex;type:varchar(200)"`
	Password     string `gorm:"type:varchar(200)"`
	WechatOpenid string `gorm:"type:varchar(36)"`
	NickName     string `gorm:"type:varchar(50)"`
	AvatarUrl    string `gorm:"type:varchar(200)"`
	Role         uint64 `gorm:"type:uint"`
	CreatedAt    time.Time
	UpdatedAt    time.Time
	DeletedAt    gorm.DeletedAt `gorm:"index"`
}

func (UserModel) TableName

func (UserModel) TableName() string

Jump to

Keyboard shortcuts

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