Files
account-manager/app/model4/TuserSNBind.js

18 lines
443 B
JavaScript
Raw Permalink Normal View History

'use strict';
module.exports = (app) => {
const { INTEGER, CHAR, STRING } = app.Sequelize;
const TuserSNBind = app.model4.define('tuser-snbind', {
id: { type: INTEGER(8), primaryKey: true, autoIncrement: true },
user_uid: CHAR(15),
sn_number: STRING(8),
},{
freezeTableName: true,
timestamp: true,
createdAt: false,
updatedAt: false,
});
return TuserSNBind;
};