models

package
v0.0.0-...-2e9e358 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OAuthApp

type OAuthApp struct {
	orm.BaseModel
	Id                    int             `json:"id"`
	Code                  string          `json:"code"`
	Title                 string          `json:"title"`
	AppId                 string          `json:"appId"`
	AppSecurityKey        string          `json:"appSecurityKey"`
	AppOauthScope         string          `json:"appOauthScope"`
	AppBaseUrl            string          `json:"appBaseUrl"`
	AccessToken           string          `json:"accessToken"`
	AccessTokenExpireTime custom.JsonTime `json:"accessTokenExpireTime"`
	CreateTime            custom.JsonTime `json:"createTime"`
}

func (*OAuthApp) FilterValue

func (this *OAuthApp) FilterValue()

func (*OAuthApp) TableName

func (this *OAuthApp) TableName() string

type User

type User struct {
	orm.BaseModel

	Id         custom.UUID     `json:"id"`
	Mobile     string          `json:"mobile"`
	NickName   string          `json:"nickName"`
	CreateTime custom.JsonTime `json:"createTime"`
	Password   string          `json:"password"`
	Role       int             `json:"role"`
}

func (*User) FilterValue

func (this *User) FilterValue()

func (*User) TableName

func (this *User) TableName() string

Jump to

Keyboard shortcuts

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