feat: scope articles by brand

This commit is contained in:
2026-05-20 15:37:25 +08:00
parent 5fb9d0b0dd
commit dd082e2ed1
72 changed files with 3213 additions and 432 deletions
+4 -3
View File
@@ -3,13 +3,14 @@ package domain
import "time"
type WorkspaceOverview struct {
ArticleCount int64 `json:"article_count"`
PublishedCount int64 `json:"published_count"`
BrandCount int64 `json:"brand_count"`
ArticleCount int64 `json:"article_count"`
PublishedCount int64 `json:"published_count"`
BrandCount int64 `json:"brand_count"`
}
type RecentArticle struct {
ID int64 `json:"id"`
BrandID *int64 `json:"brand_id"`
Title *string `json:"title"`
TemplateName *string `json:"template_name"`
GenerateStatus string `json:"generate_status"`