30 lines
927 B
JavaScript
30 lines
927 B
JavaScript
'use strict'
|
|
const { Model } = require('sequelize')
|
|
module.exports = (sequelize, DataTypes) => {
|
|
class EmployeeStrength extends Model {
|
|
|
|
}
|
|
EmployeeStrength.init(
|
|
{
|
|
pd_id: { type: DataTypes.INTEGER },
|
|
permanant_employees_person_met: { type: DataTypes.INTEGER },
|
|
temporary_employees_person_met: { type: DataTypes.INTEGER },
|
|
permanant_employees_cm: { type: DataTypes.INTEGER },
|
|
temporary_employees_cm: { type: DataTypes.INTEGER },
|
|
permanant_employees_salary: { type: DataTypes.INTEGER },
|
|
temporary_employees_salary: { type: DataTypes.INTEGER },
|
|
common_remarks: { type: DataTypes.STRING },
|
|
createdby: { type: DataTypes.INTEGER },
|
|
updatedby: { type: DataTypes.INTEGER }
|
|
|
|
},
|
|
{
|
|
sequelize,
|
|
tableName: 'credit_employee_strength',
|
|
modelName: 'EmployeeStrength',
|
|
}
|
|
)
|
|
|
|
|
|
return EmployeeStrength
|
|
} |