diff --git a/app/module/article_categories/mapper/article_categories.mapper.go b/app/module/article_categories/mapper/article_categories.mapper.go index aedfdf8..7193203 100644 --- a/app/module/article_categories/mapper/article_categories.mapper.go +++ b/app/module/article_categories/mapper/article_categories.mapper.go @@ -16,6 +16,7 @@ func ArticleCategoriesResponseMapper(articleCategoriesReq *entity.ArticleCategor Slug: articleCategoriesReq.Slug, ThumbnailPath: articleCategoriesReq.ThumbnailPath, ParentId: articleCategoriesReq.ParentId, + OldCategoryId: articleCategoriesReq.OldCategoryId, CreatedById: articleCategoriesReq.CreatedById, StatusId: articleCategoriesReq.StatusId, IsPublish: articleCategoriesReq.IsPublish, diff --git a/app/module/article_categories/response/article_categories.response.go b/app/module/article_categories/response/article_categories.response.go index b615c9d..27c012e 100644 --- a/app/module/article_categories/response/article_categories.response.go +++ b/app/module/article_categories/response/article_categories.response.go @@ -11,6 +11,7 @@ type ArticleCategoriesResponse struct { Tags []string `json:"tags"` ThumbnailPath *string `json:"thumbnailPath"` ParentId *int `json:"parentId"` + OldCategoryId *uint `json:"oldCategoryId"` CreatedById *uint `json:"createdById"` StatusId int `json:"statusId"` IsPublish *bool `json:"isPublish"`