北斗应用技术培训报名系统题库

This commit is contained in:
2026-03-27 17:55:17 +08:00
commit ab1d364524
42 changed files with 1301 additions and 0 deletions

23
app/model2/Radio.js Normal file
View File

@@ -0,0 +1,23 @@
'use strict';
module.exports = (app) => {
const { INTEGER, STRING, CHAR } = app.Sequelize;
const Radio = app.model2.define('radio', {
id: { type: INTEGER(5), primaryKey: true, autoIncrement: true },
stem: STRING(400),
options_a: STRING(400),
options_b: STRING(400),
options_c: STRING(400),
options_d: STRING(400),
answer: CHAR(1),
difficulty: INTEGER(3),
},{
freezeTableName: true,
timestamp: false,
createdAt: false,
updatedAt: false,
});
return Radio;
};