/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const Company = sequelize.define("company", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "company_id_uindex" }, name: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "name", autoIncrement: false }, relateSites: { type: DataTypes.ARRAY(DataTypes.INTEGER), allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "relate_sites", autoIncrement: false }, del: { type: DataTypes.BOOLEAN, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "del", autoIncrement: false } }, { tableName: "company", comment: "", indexes: [] }); dc.models.Company = Company; return Company; };