Skip to main content

Module author

Module author 

Source
Expand description

作者实体 (Author Entity)

漫画原作/作画作者信息,映射数据库 authortb 表。

§数据表映射

Author 对应 authortb 表的行记录,通过 mangaauthor 关联表与漫画建立多对多关系。 每个漫画最多关联两个作者:原作 (type=1) 和作画 (type=2)。

§典型用法

  • 漫画新增时,若作者不存在于档案,自动创建 Author 记录
  • 漫画更新时,通过 AuthorRepository 校验作者是否在档案中
  • 作为 MangaCardVoMangaDetailVo 的子字段序列化输出

Structs§

Author
作者信息