entities

package
v0.0.0-...-1717708 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProfileEntity

type ProfileEntity struct {
	bun.BaseModel `bun:"table:profiles" json:"-"`
	Id            *string    `bun:"id,pk,autoincrement" json:""`
	PrivateEmail  *string    `bun:"private_email" json:"private_email"`
	ProfileImage  *string    `bun:"profile_image" json:"profile_image"`
	Fullname      *string    `bun:"fullname" json:"fullname"`
	ExternalId    *string    `bun:"external_id" json:"external_id"`
	Created       *time.Time `bun:"created,notnull,default:now()" json:"created"`
	Updated       *time.Time `bun:"updated,notnull,default:now()" json:"updated"`
}

Jump to

Keyboard shortcuts

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