/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const sale = sequelize.define("sale", { id: { type: DataTypes.INTEGER, allowNull: false, primaryKey: true, field: "id", autoIncrement: true, }, department: { type: DataTypes.STRING, allowNull: true, field: "department", }, business: { type: DataTypes.STRING, allowNull: true, field: "business", }, sale: { type: DataTypes.STRING, allowNull: true, field: "sale", }, hiredate: { type: DataTypes.DATE, allowNull: false, field: "hiredate", }, regularDate: { type: DataTypes.DATE, allowNull: false, field: "regular_date", }, pepId: { type: DataTypes.INTEGER, allowNull: true, field: "pep_id", } }, { tableName: "sale", }); dc.models.sale = sale; return sale; };