/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const User = sequelize.define("user", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true }, username: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "username", autoIncrement: false }, password: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "password", autoIncrement: false }, displayName: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "display_name", autoIncrement: false }, del: { type: DataTypes.BOOLEAN, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "del", autoIncrement: false }, rank: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "rank", autoIncrement: false }, phone: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "phone", autoIncrement: false }, forbidden: { type: DataTypes.BOOLEAN, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "forbidden", autoIncrement: false } }, { tableName: "user", comment: "", indexes: [] }); dc.models.User = User; return User; };