model

package
v0.0.0-...-3735932 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: AGPL-3.0 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 {
	field.BaseModel
	Username   string `json:"username"`
	Password   string `json:"password"   gorm:"type:char(60)"`
	NickName   string `json:"nickname"`
	Phone      string `json:"phone"`
	Department string `json:"department"`
	Status     int8   `json:"status"`
	Role       int8   `json:"role"`
	OpenID     string `json:"openid"`
}

func (*User) TableName

func (u *User) TableName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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