user_aggregate

package
v0.0.0-...-a773fcb Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: GPL-3.0 Imports: 7 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        user_id.UserId            `gorm:"primary_key;column:id;type:uuid" json:"id"`
	FirstName user_first_name.FirstName `gorm:"column:first_name;type:text;size:100;not null;" json:"first_name"`
	LastName  user_last_name.LastName   `gorm:"column:last_name;type:text;size:100;not null;" json:"last_name"`
	Email     user_email.Email          `gorm:"column:email;type:text;size:100;not null;" json:"email"`
	Password  user_password.Password    `gorm:"column:password;type:text;size:100;not null;" json:"password"`
	CreatedAt time.Time                 `gorm:"default:CURRENT_TIMESTAMP" json:"created_at"`
	UpdatedAt time.Time                 `gorm:"default:CURRENT_TIMESTAMP" json:"updated_at"`
	DeletedAt *time.Time                `json:"deleted_at,omitempty"`
}

User is an user which has id, email and person info

func FromRaw

func FromRaw(array map[string]interface{}) (*User, error)

Jump to

Keyboard shortcuts

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