package domain // Novel 小说元信息。 type Novel struct { Name string `json:"name"` TotalChapters int `json:"total_chapters"` } // OutlineEntry 大纲条目,对应一章。 type OutlineEntry struct { Chapter int `json:"chapter"` Title string `json:"title"` CoreEvent string `json:"core_event"` Hook string `json:"hook"` Scenes []string `json:"scenes"` } // Character 角色档案。 type Character struct { Name string `json:"name"` Role string `json:"role"` Description string `json:"description"` Arc string `json:"arc"` Traits []string `json:"traits"` } // WorldRule 世界观规则条目。 type WorldRule struct { Category string `json:"category"` // magic / technology / geography / society / other Rule string `json:"rule"` // 规则描述 Boundary string `json:"boundary"` // 不可违反的边界 }