controller

package
v0.0.0-...-ee53a0f Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HowHearAboutUsItemControllerImpl

type HowHearAboutUsItemControllerImpl struct {
	Config                   *config.Conf
	Logger                   *slog.Logger
	UUID                     uuid.Provider
	S3                       s3_storage.S3Storager
	Password                 password.Provider
	Kmutex                   kmutex.Provider
	DbClient                 *mongo.Client
	UserStorer               user_s.UserStorer
	CustomerStorer           c_s.CustomerStorer
	AssociateStorer          a_s.AssociateStorer
	StaffStorer              s_s.StaffStorer
	HowHearAboutUsItemStorer howhear_s.HowHearAboutUsItemStorer
	TemplatedEmailer         templatedemailer.TemplatedEmailer
}

func (*HowHearAboutUsItemControllerImpl) ArchiveByID

func (*HowHearAboutUsItemControllerImpl) Create

func (*HowHearAboutUsItemControllerImpl) DeleteByID

func (*HowHearAboutUsItemControllerImpl) GetByID

func (*HowHearAboutUsItemControllerImpl) UpdateByID

func (*HowHearAboutUsItemControllerImpl) UpdateRelatedAssociates

func (impl *HowHearAboutUsItemControllerImpl) UpdateRelatedAssociates(sessCtx mongo.SessionContext, hh *howhear_s.HowHearAboutUsItem) error

func (*HowHearAboutUsItemControllerImpl) UpdateRelatedCustomers

func (impl *HowHearAboutUsItemControllerImpl) UpdateRelatedCustomers(sessCtx mongo.SessionContext, hh *howhear_s.HowHearAboutUsItem) error

func (*HowHearAboutUsItemControllerImpl) UpdateRelatedStaff

type HowHearAboutUsItemCreateRequestIDO

type HowHearAboutUsItemCreateRequestIDO struct {
	Text           string `bson:"text" json:"text"`
	SortNumber     int8   `bson:"sort_number" json:"sort_number"`
	IsForAssociate bool   `bson:"is_for_associate" json:"is_for_associate"`
	IsForCustomer  bool   `bson:"is_for_customer" json:"is_for_customer"`
	IsForStaff     bool   `bson:"is_for_staff" json:"is_for_staff"`
}

type HowHearAboutUsItemUpdateRequestIDO

type HowHearAboutUsItemUpdateRequestIDO struct {
	ID             primitive.ObjectID `bson:"id" json:"id"`
	Text           string             `bson:"text" json:"text"`
	SortNumber     int8               `bson:"sort_number" json:"sort_number"`
	IsForAssociate bool               `bson:"is_for_associate" json:"is_for_associate"`
	IsForCustomer  bool               `bson:"is_for_customer" json:"is_for_customer"`
	IsForStaff     bool               `bson:"is_for_staff" json:"is_for_staff"`
}

Jump to

Keyboard shortcuts

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