ability_user_model

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package ability_user_model ability/ability_user/ability_user_model/ability_user_model.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	gorm.Model      `json:"-"`
	UserID          string     `gorm:"type:char(36);not null;uniqueIndex:uk_users_user_id" json:"user_id"`
	UserName        string     `gorm:"size:32;not null;uniqueIndex:uk_users_user_name" json:"user_name"`
	NickName        string     `gorm:"size:32;not null" json:"nick_name"`
	BindEmail       *string    `gorm:"size:320;uniqueIndex:uk_users_bind_email" json:"bind_email"`
	BindPhone       *string    `gorm:"size:32;uniqueIndex:uk_users_bind_phone" json:"bind_phone"`
	PasswordHash    string     `gorm:"size:255;not null" json:"-"`
	EmailVerifiedAt *time.Time `json:"email_verified_at"`
	PhoneVerifiedAt *time.Time `json:"phone_verified_at"`
}

Jump to

Keyboard shortcuts

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