chore: .vscode/entity.code-snippets

This commit is contained in:
2026-07-01 17:55:04 +08:00
parent 9e51ffd67c
commit 91a65f41e6
+20
View File
@@ -0,0 +1,20 @@
{
"entity": {
"prefix": "entity",
"body": [
"import { BaseEntity } from '../../base/entity/base';",
"import { Column, Entity } from 'typeorm';",
"",
"/**",
" * 描述",
" */",
"@Entity('xxx_xxx_xxx')",
"export class XxxEntity extends BaseEntity {",
" @Column({ comment: '描述' })",
" xxx: string;",
"}",
""
],
"description": "cool-admin entity代码片段"
}
}