feat: 在 DTO 规范中添加属性命名规则说明,允许使用小驼峰或下划线命名

This commit is contained in:
Lyda
2026-01-31 17:39:51 +08:00
parent 48ffeee55f
commit 31a62cf0a6

View File

@@ -116,6 +116,7 @@ userModule.ts
- 文件名使用小写加横线命名(如 `user-extends.dto.ts` - 文件名使用小写加横线命名(如 `user-extends.dto.ts`
- 文件名必须加 `.dto.ts` 后缀 - 文件名必须加 `.dto.ts` 后缀
- dto 目录下必须包含 `dto.ts` 文件 - dto 目录下必须包含 `dto.ts` 文件
- dto 里的类的属性可以使用小驼峰或者下划线命名
### Good ### Good