feat: 在 NestJS 规范中添加 Model 文件匹配模式说明

This commit is contained in:
Lyda
2026-02-02 11:21:10 +08:00
parent 01049bc24a
commit 30ec00df9e
2 changed files with 3 additions and 4 deletions

View File

@@ -178,6 +178,8 @@ export class UserProxy {
## Model 编写规范 `[JsTs.Nest.ModelDefinition]`
> - includes `*.model.ts`
- 内部只能写使用 model 数据库调用的逻辑
- 文件名使用小写加横线命名(如 `user.model.ts`
- 文件名必须加 `.model.ts` 后缀