27 lines
781 B
JavaScript
27 lines
781 B
JavaScript
'use strict'
|
|
const { Model } = require('sequelize')
|
|
module.exports = (sequelize, DataTypes) => {
|
|
class PropertyNorms extends Model {
|
|
|
|
}
|
|
PropertyNorms.init(
|
|
{
|
|
policy_parameter_master_id : { type: DataTypes.INTEGER },
|
|
'Max_Variance_in_2_Valuations_10%' : { type: DataTypes.INTEGER },
|
|
'Max_Variance_in_2_Valuations_>10%' : { type: DataTypes.INTEGER },
|
|
is_active : { type: DataTypes.INTEGER },
|
|
createdAt : { type: DataTypes.DATE },
|
|
updatedAt : { type: DataTypes.DATE },
|
|
createdby : { type: DataTypes.INTEGER },
|
|
updatedby : { type: DataTypes.INTEGER }
|
|
|
|
},
|
|
{
|
|
sequelize,
|
|
tableName: 'property_norms',
|
|
modelName: 'PropertyNorms',
|
|
}
|
|
)
|
|
return PropertyNorms
|
|
}
|