北斗短报文通信服务平台

This commit is contained in:
2026-03-27 17:51:58 +08:00
commit 90a8407924
103 changed files with 2714 additions and 0 deletions

20
app/model2/BindCrecord.js Normal file
View File

@@ -0,0 +1,20 @@
'use strict';
module.exports = (app) => {
const { INTEGER, CHAR, DATE } = app.Sequelize;
const BindCrecord = app.model2.define('bind-crecord', {
id: { type: INTEGER(11), primaryKey: true, autoIncrement: true },
user_uid: CHAR(15),
card_id: CHAR(8),
type: INTEGER(1),
created_at: DATE,
},{
freezeTableName: true,
timestamp: true,
createdAt: true,
updatedAt: false,
});
return BindCrecord;
};