model

package
v0.0.0-...-2678e4d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteInput

type DeleteInput struct {
	ID int `json:"id"`
}

type NewUser

type NewUser struct {
	Name      string  `json:"name"`
	Email     string  `json:"email"`
	FirstName *string `json:"firstName"`
	LastName  *string `json:"lastName"`
	Date      *string `json:"date"`
	Gender    *int    `json:"gender"`
	Password  string  `json:"password"`
}

type SearchUser

type SearchUser struct {
	Name      *string `json:"name"`
	Email     *string `json:"email"`
	FirstName *string `json:"firstName"`
	LastName  *string `json:"lastName"`
	Date      *string `json:"date"`
	Gender    *int    `json:"gender"`
	Password  *string `json:"password"`
}

type UpdateUser

type UpdateUser struct {
	ID        int     `json:"id"`
	Name      string  `json:"name"`
	Email     string  `json:"email"`
	FirstName *string `json:"firstName"`
	LastName  *string `json:"lastName"`
	Date      *string `json:"date"`
	Gender    *int    `json:"gender"`
	Password  string  `json:"password"`
}

type User

type User struct {
	ID        int     `json:"id"`
	Name      string  `json:"name"`
	Email     string  `json:"email"`
	FirstName *string `json:"firstName"`
	LastName  *string `json:"lastName"`
	Date      *string `json:"date"`
	Gender    *int    `json:"gender"`
	Password  string  `json:"password"`
	CreatedAt string  `json:"createdAt"`
	UpdatedAt *string `json:"updatedAt"`
	DeletedAt *string `json:"deletedAt"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL