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
Click to show internal directories.
Click to hide internal directories.