Files
tqxz-sn-message-platform/app/model/BindBSNrecord.js

20 lines
506 B
JavaScript
Raw Normal View History

2026-03-27 17:57:44 +08:00
'use strict';
module.exports = (app) => {
const { INTEGER, CHAR, STRING, DATE } = app.Sequelize;
const BindBSNrecord = app.model.define('bind-bsnrecord', {
id: { type: INTEGER(11), primaryKey: true, autoIncrement: true },
user_uid: CHAR(15),
sn_number: STRING(8),
type: INTEGER(1),
created_at: DATE,
},{
freezeTableName: true,
timestamp: true,
createdAt: true,
updatedAt: false,
});
return BindBSNrecord;
};