portal/db/models/email_verification.go

18 lines
189 B
Go
Raw Normal View History

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