sequelize-model-generate READMENone Features1.创建一个json文件,demo.json,类似于这样的格式 { name: 'User', //model的,名字,大写字母开头 fields: { id: number, name: string, age: number, createAt: Date } //表的字段名 } 2.选择json内容,执行该插件 3.在json文件的目录下,生成新的model文件 user.ts RequirementsNone Extension SettingsNone Known IssuesNone Release NotesNone 1.0.0Initial release |