models

package
v0.0.0-...-e8f2a17 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	Id           primitive.ObjectID `json:"id,omitempty"`
	FirstName    string             `json:"firstname,omitempty" validate:"required"`
	LastName     string             `json:"lastname,omitempty" validate:"required"`
	UserName     string             `json:"username,omitempty" validate:"required"`
	OrgName      string             `json:"orgname"`
	Location     string             `json:"location,omitempty" validate:"required"`
	Title        string             `json:"title,omitempty" validate:"required"`
	Address1     string             `json:"address1"`
	Address2     string             `json:"address2"`
	City         string             `json:"city"`
	State        string             `json:"State"`
	ZipCode      string             `json:"zip"`
	Country      string             `json:"country"`
	Gender       string             `json:"gender"`
	Account      string             `json:"account"`
	DOB          string             `json:"dob,omitempty" validate:"required"`
	Email        string             `json:"email" validate:"required,email"`
	Password     string             `json:"password"`
	Active       bool               `json:"active"`
	LastAccessed string             `json:"lastaccessed"`
	CreatedDate  string             `json:"createddate"`
}

Jump to

Keyboard shortcuts

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