initial commit

This commit is contained in:
m.zare
2026-04-10 18:25:21 +03:30
commit 77ca6c34a3
263 changed files with 34470 additions and 0 deletions

26
internal/dto/blog.go Normal file
View File

@@ -0,0 +1,26 @@
package dto
import "time"
type Blog struct {
Id string `json:"id"`
Title string `json:"title"`
Content string `json:"content"`
Summary string `json:"summary"`
CoverImage string `json:"cover_image"`
ContentHtml string `json:"content_html"`
ContentJson interface{} `json:"content_json"`
Status string `json:"status"`
IsFeatured bool `json:"is_featured"`
ViewCount int `json:"view_count"`
Slug string `json:"slug"`
CategoryId string `json:"category_id"`
Category struct {
Id string `json:"id"`
Title string `json:"title"`
} `json:"category"`
MetaTags interface{} `json:"meta_tags"`
Author string `json:"author"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}