31 lines
953 B
JavaScript
31 lines
953 B
JavaScript
'use strict'
|
|
const { Model } = require('sequelize')
|
|
module.exports = (sequelize, DataTypes) => {
|
|
class FinancialsNorms extends Model {
|
|
|
|
}
|
|
FinancialsNorms.init(
|
|
{
|
|
policy_parameter_master_id : { type: DataTypes.INTEGER },
|
|
Vanilla_From : { type: DataTypes.STRING },
|
|
Vanilla_To : { type: DataTypes.STRING },
|
|
Industry_Margin_From : { type: DataTypes.STRING },
|
|
Industry_Margin_To : { type: DataTypes.STRING },
|
|
GPR_From : { type: DataTypes.STRING },
|
|
GPR_To : { type: DataTypes.STRING },
|
|
is_active : { type: DataTypes.INTEGER },
|
|
createdAt : { type: DataTypes.DATE },
|
|
updatedAt : { type: DataTypes.DATE },
|
|
createdby : { type: DataTypes.INTEGER },
|
|
updatedby : { type: DataTypes.INTEGER }
|
|
|
|
},
|
|
{
|
|
sequelize,
|
|
tableName: 'financials_norms',
|
|
modelName: 'FinancialsNorms',
|
|
}
|
|
)
|
|
return FinancialsNorms
|
|
}
|