北斗启航科技教育平台管理系统

This commit is contained in:
2026-03-27 17:49:17 +08:00
commit 51b979c182
113 changed files with 7210 additions and 0 deletions

28
app/model3/Insiders.js Normal file
View File

@@ -0,0 +1,28 @@
'use strict';
module.exports = (app) => {
const { INTEGER, CHAR, STRING, DATE } = app.Sequelize;
const Insiders = app.model3.define('insiders', {
id: { type: INTEGER(5), primaryKey: true, autoIncrement: true },
uid: CHAR(15),
salt: CHAR(24),
status: INTEGER(3),
role: INTEGER(3),
name: STRING(20),
password: CHAR(64),
department: STRING(20),
change: STRING(200),
created_at: DATE,
updated_at: DATE,
login_at: DATE,
login_status: INTEGER(3)
},{
freezeTableName: true,
timestamp: true,
createdAt: true,
updatedAt: true,
});
return Insiders;
};