portal/db/models/password_reset.go

17 lines
167 B
Go
Raw Normal View History

package models
import (
"time"
"gorm.io/gorm"
)
type PasswordReset struct {
gorm.Model
UserID uint
User User
Token string
ExpiresAt time.Time
}