Skip to content

feat: 为 Character 增加稳定显示名 name #114

Description

@huyanxius

背景

当前后端 Character 只有 idproject_iddescriptionreference_image_urlcharacter_datastatus 和时间字段,没有角色级显示名。

character_data.outfits[].name 表示造型名称,不能代替角色名称。资产库需要稳定的角色名称展示角色卡片和详情页,否则角色身份会与当前造型耦合。

该问题在资产库 Vibe Coding 验证中暴露,关联 #112#113

目标

在后端 Character 契约中增加独立的 name 字段,作为跨造型稳定的角色显示名。

验收标准

  • Character 持久化模型包含 name
  • 创建角色时可以提交 name
  • 获取角色和角色列表时返回 name
  • 更新角色时可以更新 name
  • Character.nameoutfits[].name 语义独立
  • 明确已有数据的默认值或迁移策略
  • 补充对应的模型与服务测试

不包含

  • 不调整 Outfit 结构
  • 不处理 ActionTemplate
  • 不增加 Wearable
  • 不包含资产库前端实现

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions