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
Click to show internal directories.
Click to hide internal directories.