Files
2026-01-26 17:07:35 +01:00

25 lines
749 B
Go

package models
import "time"
// OrphanPost represents a post missing a translation.
type OrphanPost struct {
PostID int `json:"post_id"`
Title string `json:"title"`
URL string `json:"url"`
Language string `json:"language"`
MissingLang string `json:"missing_lang"`
ModifiedAt time.Time `json:"modified_at"`
}
// TranslationDraft represents a translated draft payload.
type TranslationDraft struct {
Language string `json:"language"`
Title string `json:"title"`
Slug string `json:"slug"`
SEOTitle string `json:"seo_title"`
MetaDescription string `json:"meta_description"`
Excerpt string `json:"excerpt"`
ContentHTML string `json:"content_html"`
}