update_category

package
v0.0.0-...-46f64ff Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateCategoryCommand

type UpdateCategoryCommand struct {
	ID          int64
	AccountID   int64
	UserID      int64
	ParentID    int64  `json:"parentId"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Icon        string `json:"icon"`
}

type UpdateCategoryCommandHandler

type UpdateCategoryCommandHandler struct {
	// contains filtered or unexported fields
}

func NewUpdateCategoryCommandHandler

func NewUpdateCategoryCommandHandler(
	categoryRepository category.CategoryRepository,
) *UpdateCategoryCommandHandler

func (UpdateCategoryCommandHandler) Handle

type UpdateCategoryResponse

type UpdateCategoryResponse struct {
	Category *category.Category
}

func NewUpdateCategoryResponse

func NewUpdateCategoryResponse(category *category.Category) *UpdateCategoryResponse

Jump to

Keyboard shortcuts

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