gohorsejobs/backend/internal/models/password_reset.go
Tiago Yamamoto 1c7ef95c1a first commit
2025-12-09 19:04:48 -03:00

13 lines
407 B
Go
Executable file

package models
import "time"
// PasswordReset represents a password reset token
type PasswordReset struct {
ID int `json:"id" db:"id"`
UserID int `json:"userId" db:"user_id"`
Token string `json:"token" db:"token"`
ExpiresAt time.Time `json:"expiresAt" db:"expires_at"`
Used bool `json:"used" db:"used"`
CreatedAt time.Time `json:"createdAt" db:"created_at"`
}