models

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageNotification added in v0.0.5

type MessageNotification struct {
	NoteUUID      gocql.UUID
	EmployeeUUID  gocql.UUID
	EmployerUUID  gocql.UUID // is recieved while update !
	VacancyUUID   gocql.UUID
	CandidateName string
	CandidateUrl  string
	IsReaded      bool

	Mu sync.Mutex
}

func NewMessageNotification added in v0.0.5

func NewMessageNotification(candidateName, candidateUrl, employeeUUID, employerUUID, vacancyUUID string) (*MessageNotification, error)

type Notification

type Notification struct {
	EmployeeUUID  string
	VacancyUUID   string
	EmployerUUID  string
	NoteUUID      string
	CandidateName string
	CandidateUrl  string
	IsReaded      bool
}

func AppliedFromProto added in v0.0.3

func AppliedFromProto(pb *proto.Notification, noteUuid string) *Notification

func AppliedNotesFromProto added in v0.0.13

func AppliedNotesFromProto(pb *proto.Notifications, vacUuid string) []*Notification

func (Notification) Proto

func (n Notification) Proto() *proto.Notification

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳