feat(finance): add financial disclosure publishing

This commit is contained in:
2026-08-13 17:17:33 +08:00
parent 39a2e53e61
commit 65d23eab4a
49 changed files with 2096 additions and 3 deletions
+15
View File
@@ -470,3 +470,18 @@ Phase 7 不建立可人工修改的统计快照;九项 V1 指标直接从申
6. 所有枚举在 contracts 中有单一事实来源。
7. migration 不允许 destructive change 直接上线。
8. 删除列采用“停用 → 迁移 → 验证 → 后续版本删除”。
---
## 23. financial_disclosures
- id / public_id(随机 UUID)
- client_request_id / request_fingerprint(创建幂等)
- title / summary nullable
- rich_text(后端白名单清洗后的富文本)
- status:DRAFT / PUBLISHED / ARCHIVED
- is_pinned / sort_order / revision
- published_at nullable
- created_by / updated_by / timestamps
`financial_disclosure_status_history` 只追加保存创建、发布和归档事实,请求 UUID 全局唯一。已发布文档禁止覆盖编辑,只能归档;草稿编辑使用 revision 乐观锁。