15 lines
342 B
Go
15 lines
342 B
Go
package viewmodel
|
|
|
|
import "time"
|
|
|
|
type PasswordReset struct {
|
|
ID int64 `json:"-"`
|
|
UUID string `json:"uuid"`
|
|
User User `json:"user"`
|
|
Token string `json:"token"`
|
|
Created time.Time `json:"create_date"`
|
|
Expires time.Time `json:"expire_date"`
|
|
Used bool `json:"used"`
|
|
Opened bool `json:"opened"`
|
|
}
|