/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const salePerformance = sequelize.define("salePerformance", { id: { type: DataTypes.INTEGER, allowNull: false, primaryKey: true, field: "id", autoIncrement: true, }, amount: { type: DataTypes.STRING, allowNull: false, field: "amount", }, actualPerformance: { type: DataTypes.STRING, allowNull: false, field: "actual_performance", }, assessmentPerformance: { type: DataTypes.STRING, allowNull: false, field: "assessment_performance", }, completion : { type: DataTypes.STRING, allowNull: false, field: "completion ", }, month: { type: DataTypes.INTEGER, allowNull: false, field: "month", }, year: { type: DataTypes.INTEGER, allowNull: false, field: "year", }, saleId: { type: DataTypes.STRING, allowNull: false, field: "sale_id", } }, { tableName: "sale_performance", }); dc.models.salePerformance = salePerformance; return salePerformance; };