user

package
v0.0.0-...-03609d5 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50);not null;unique;comment:'用户名'" json:"username"` // 用户名
	Password string `gorm:"size:255;not null;comment:'用户密码'" json:"password"`               // 用户密码
	Nickname string `gorm:"type:varchar(50);comment:'中文名'" json:"nickname"`                 // 昵称
}

Jump to

Keyboard shortcuts

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