feat(models): add Chinese verbose_name to all 74 models (Phase 4.0)

为所有 Django 模型添加 Meta.verbose_name 和 verbose_name_plural(中文表名),
覆盖 10 个 app 的全部 74 个业务模型。

Phase 4.0 范围:
- 仅 Meta 类级别中文名(用于 Django Admin、drf-spectacular OpenAPI title、错误信息)
- 字段级 verbose_name= 和 help_text= 留待 Phase 4.1(待 PM 补全 DATA_MODEL 后同步)

变更:
- 20 个 models 文件改动(每个模型 +2 行)
- 8 个 0002/0003 迁移文件(Meta options 变更)
- apps/tenant/migrations/0001_initial.py(之前漏生成的 tenant 模型迁移)

manage.py check: 0 issues。
This commit is contained in:
2026-04-29 19:10:38 +08:00
parent 94d160223d
commit 79c3cf2924
29 changed files with 594 additions and 0 deletions

View File

@@ -36,6 +36,8 @@ class ClientFollowLog(models.Model):
class Meta:
db_table = "client_follow_logs"
verbose_name = "客源跟进日志"
verbose_name_plural = "客源跟进日志"
managed = False
unique_together = (("id", "created_at"),)
@@ -52,4 +54,6 @@ class ClientFollowLogAttachment(UUIDPrimaryKeyModel):
class Meta:
db_table = "client_follow_log_attachments"
verbose_name = "客源跟进附件"
verbose_name_plural = "客源跟进附件"
indexes = [models.Index(fields=["follow_log_id"], name="idx_cfla_log")]