dto

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 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 InviteCode

type InviteCode struct {
	InviteCode string
	UserId     string
}

type SocialUser

type SocialUser struct {
	Id            *string
	UserId        *string
	Name          *string
	Mobile        *string
	Email         *string
	Avatar        *string
	LoginTimes    int
	LastLoginTime *time.Time
	LastLoginIp   *string
}

type User

type User struct {
	Id            *string `json:"id"`
	Login         *string `json:"login"`
	Mobile        *string `json:"mobile"`
	Email         *string `json:"email"`
	Password      *string `json:"-"`
	PlainPassword *string `json:"password,omitempty"`
	Name          *string `json:"name"`
	InviteCode    *string `json:"inviteCode"`
	InviterId     *string `json:"inviterId"`
	SocialId      *string `json:"socialId"`
	Admin         *bool   `json:"admin"`
	TenantId      *string `json:"tenantId"`
}

Jump to

Keyboard shortcuts

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