34 lines
653 B
Go
34 lines
653 B
Go
// Code generated by ent, DO NOT EDIT.
|
|
package admin
|
|
|
|
import "time"
|
|
|
|
type PasswordToken struct {
|
|
// Fields.
|
|
Hash string `form:"hash"`
|
|
UserID int `form:"user_id"`
|
|
CreatedAt time.Time `form:"created_at"`
|
|
// Edges.
|
|
// User int `form:"user"`
|
|
}
|
|
|
|
type User struct {
|
|
// Fields.
|
|
Name string `form:"name"`
|
|
Email string `form:"email"`
|
|
Password string `form:"password"`
|
|
Verified bool `form:"verified"`
|
|
CreatedAt time.Time `form:"created_at"`
|
|
// Edges.
|
|
}
|
|
|
|
type EntityList struct {
|
|
Columns []string
|
|
Entities []EntityValues
|
|
HasNextPage bool
|
|
}
|
|
|
|
type EntityValues struct {
|
|
ID int
|
|
Values []string
|
|
}
|