Clear empty optional fields.

This commit is contained in:
mikestefanello 2025-04-15 07:36:35 -04:00
parent 53113101c9
commit 8a4dd9fb3b
4 changed files with 28 additions and 9 deletions

View file

@ -1,12 +1,17 @@
// Code generated by ent, DO NOT EDIT.
package admin
import "time"
import (
"time"
"github.com/mikestefanello/pagoda/ent/passwordtoken"
)
type PasswordToken struct {
Hash *string `form:"hash"`
UserID int `form:"user_id"`
CreatedAt *time.Time `form:"created_at"`
Hash *string `form:"hash"`
UserID int `form:"user_id"`
CreatedAt *time.Time `form:"created_at"`
Abc *passwordtoken.Abc `form:"abc"`
}
type User struct {