dto

package
v0.0.0-...-a4deb0f Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OtpDto

type OtpDto struct {
	ID          int64     `json:"id" db:"id"`
	UserId      string    `json:"user_id"  db:"user_id, omitempty"`
	PassWordNew string    `json:"password_new" db:"pass_word_new"`
	Email       string    `json:"email,omitempty" db:"email, omitempty" validate:"required"`
	Otp         string    `json:"-" db:"role, omitempty"`
	CreatedAt   time.Time `json:"-"`
}

func (*OtpDto) ToPayload

func (c *OtpDto) ToPayload() *payload.OtpPayload

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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