entities

package
v0.0.0-...-9442cf9 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 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 NotificationSetting

type NotificationSetting struct {
	ID                 uuid.UUID
	UserProfileID      uuid.UUID
	NotificationTypeID uuid.UUID
	Active             bool
	CreatedAt          time.Time
	UpdatedAt          time.Time
	DeletedAt          *time.Time
}

type NotificationType

type NotificationType struct {
	ID          uuid.UUID
	Name        string
	Description string
	CreatedAt   time.Time
	CreatedBy   string
	UpdatedAt   time.Time
	UpdatedBy   string
	DeletedAt   *time.Time
	DeletedBy   *string
}

type UpdateProfile

type UpdateProfile struct {
	Bio       *string
	FirstName *string
	LastName  *string
	Locale    *string
}

type UserProfile

type UserProfile struct {
	ID                   uuid.UUID
	FirstName            string
	LastName             string
	Username             string
	Email                string
	Bio                  string
	Locale               string
	Initials             string
	NotificationSettings []NotificationSetting
	CreatedAt            time.Time
	UpdatedAt            time.Time
	DeletedAt            *time.Time
}

Jump to

Keyboard shortcuts

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